pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Make SMART_MESSAGES work again by passing _PKGSRC_D...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a1112bcd8c71
branches:  trunk
changeset: 465121:a1112bcd8c71
user:      agc <agc%pkgsrc.org@localhost>
date:      Sun Dec 21 14:19:12 2003 +0000

description:
Make SMART_MESSAGES work again by passing _PKGSRC_DEPS through the
environment into sub-makes for pre-requisite packages, rather than
using ${MAKEFLAGS} and the command line.

diffstat:

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

diffs (18 lines):

diff -r a28c82f92bdc -r a1112bcd8c71 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Sun Dec 21 10:22:26 2003 +0000
+++ b/mk/bsd.pkg.mk     Sun Dec 21 14:19:12 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1323 2003/12/18 03:32:50 grant Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1324 2003/12/21 14:19:12 agc Exp $
 #
 # This file is in the public domain.
 #
@@ -4070,7 +4070,7 @@
                        ${ECHO_MSG} "=> No directory for $$dir.  Skipping.."; \
                else                                                    \
                        cd $$dir ;                                      \
-                       ${MAKE} ${MAKEFLAGS} $$target _PKGSRC_DEPS=", ${PKGNAME}${_PKGSRC_DEPS}" PKGNAME_REQD=\'$$pkg\'; \
+                       ${SETENV} _PKGSRC_DEPS=", ${PKGNAME}${_PKGSRC_DEPS}" ${MAKE} ${MAKEFLAGS} $$target PKGNAME_REQD=\'$$pkg\'; \
                        ${ECHO_MSG} "${_PKGSRC_IN}> Returning to build of ${PKGNAME}"; \
                fi;                                                     \
        fi



Home | Main Index | Thread Index | Old Index