Bug 19051

Summary: New target for bsd.port.mk : fetchdepends
Product: Ports & Packages Reporter: Dima Sivachenko <dima>
Component: Individual Port(s)Assignee: Satoshi Asami <asami>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Dima Sivachenko 2000-06-06 09:00:01 UTC
Please apply this patch to bsd.port.mk.  It will allow us to fetch
distfiles for some port, as well as for all ports it depends on.

Reviewed / approved by:  sobomax, will.
Comment 1 Dima Sivachenko 2000-06-06 09:18:02 UTC
Whoops, I am sorry, please use this patch instead.

--dima

--- bsd.port.mk.old	Tue Jun  6 11:50:29 2000
+++ bsd.port.mk	Tue Jun  6 12:15:12 2000
@@ -2517,6 +2517,13 @@
 	done
 .endif
 
+.if !target(fetchdepends)
+fetchdepends: fetch
+	@for dir in $$(${CLEAN-DEPENDS-LIST}); do \
+		(cd $$dir; ${MAKE} fetch); \
+	done
+.endif
+
 # Dependency lists: build and runtime.  Print out directory names.
 
 build-depends-list:
Comment 2 alex freebsd_committer freebsd_triage 2000-06-11 09:12:07 UTC
Responsible Changed
From-To: freebsd-ports->asami

bsd.port.mk is asami's baby.
Comment 3 Sergey Matveychuk 2003-04-20 16:32:02 UTC
'make fetch-recursive' do the same.

----
Sem.
Comment 4 Pete Fritchman freebsd_committer freebsd_triage 2003-06-01 19:58:39 UTC
State Changed
From-To: open->closed

This patch isn't needed; make fetch-depends does what you want.