pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Pass PKG_REQD through shell environment, instead of...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dc556a6e0b80
branches:  trunk
changeset: 501468:dc556a6e0b80
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun Oct 23 16:58:42 2005 +0000

description:
Pass PKG_REQD through shell environment, instead of arguments of make,
so that a dependent package can override it properly.  This makes
INSTALL_MAKE_FLAGS work when a package is installed as a dependency.

diffstat:

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

diffs (18 lines):

diff -r 190e990f9414 -r dc556a6e0b80 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Sun Oct 23 16:51:00 2005 +0000
+++ b/mk/bsd.pkg.mk     Sun Oct 23 16:58:42 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1732 2005/10/16 17:48:24 tv Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1733 2005/10/23 16:58:42 minskim Exp $
 #
 # This file is in the public domain.
 #
@@ -3669,7 +3669,7 @@
                        ${ECHO_MSG} "=> No directory for $$dir.  Skipping.."; \
                else                                                    \
                        cd $$dir ;                                      \
-                       ${SETENV} _PKGSRC_DEPS=", ${PKGNAME}${_PKGSRC_DEPS}" ${MAKE} ${MAKEFLAGS} $$target PKGNAME_REQD=\'$$pkg\' MAKEFLAGS="" || exit 1; \
+                       ${SETENV} _PKGSRC_DEPS=", ${PKGNAME}${_PKGSRC_DEPS}" PKGNAME_REQD=\'$$pkg\' ${MAKE} ${MAKEFLAGS} $$target || exit 1; \
                        ${ECHO_MSG} "${_PKGSRC_IN}> Returning to build of ${PKGNAME}"; \
                fi;                                                     \
        fi



Home | Main Index | Thread Index | Old Index