pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk "fetch" is also a distinct build phase.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8210c2d39107
branches:  trunk
changeset: 467218:8210c2d39107
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Jan 27 02:36:59 2004 +0000

description:
"fetch" is also a distinct build phase.

diffstat:

 mk/bsd.pkg.mk   |  4 ++--
 mk/bsd.prefs.mk |  3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r e182f67b1543 -r 8210c2d39107 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Tue Jan 27 02:32:56 2004 +0000
+++ b/mk/bsd.pkg.mk     Tue Jan 27 02:36:59 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1360 2004/01/26 21:10:31 heinz Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1361 2004/01/27 02:36:59 jlam Exp $
 #
 # This file is in the public domain.
 #
@@ -3049,7 +3049,7 @@
 .PHONY: fetch
 .if !target(fetch)
 fetch:
-       @cd ${.CURDIR} && ${MAKE} ${MAKEFLAGS} real-fetch
+       @cd ${.CURDIR} && ${MAKE} ${MAKEFLAGS} real-fetch PKG_PHASE=fetch
 .endif
 
 .PHONY: extract
diff -r e182f67b1543 -r 8210c2d39107 mk/bsd.prefs.mk
--- a/mk/bsd.prefs.mk   Tue Jan 27 02:32:56 2004 +0000
+++ b/mk/bsd.prefs.mk   Tue Jan 27 02:36:59 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.144 2004/01/25 19:23:20 jlam Exp $
+# $NetBSD: bsd.prefs.mk,v 1.145 2004/01/27 02:36:59 jlam Exp $
 #
 # Make file, included to get the site preferences, if any.  Should
 # only be included by package Makefiles before any .if defined()
@@ -243,6 +243,7 @@
 # The PHASES_AFTER_<phase> variables list every phase "greater than or
 # equal to" <phase>.
 #
+PHASES_AFTER_FETCH=    fetch ${PHASES_AFTER_EXTRACT}
 PHASES_AFTER_EXTRACT=  extract ${PHASES_AFTER_PATCH}
 PHASES_AFTER_PATCH=    patch ${PHASES_AFTER_TOOLS}
 PHASES_AFTER_TOOLS=    tools ${PHASES_AFTER_BUILDLINK}



Home | Main Index | Thread Index | Old Index