pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk implement the change in rev. 1.1296 (which was back...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/805f65e6fd97
branches:  trunk
changeset: 463162:805f65e6fd97
user:      grant <grant%pkgsrc.org@localhost>
date:      Thu Oct 30 12:36:01 2003 +0000

description:
implement the change in rev. 1.1296 (which was backed out in rev.
1.1298) properly by using single quotes instead of double quotes
around the PKGNAME_REQD value, ensuring that the shell does not
interpret the > character as a redirect.

confirmed that no "=1.0.43" files are created on NetBSD and
Linux when a pre-requisite package has a wildcarded version
number eg. ">=1.0.43", and that the original problem is fixed.

diffstat:

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

diffs (18 lines):

diff -r 8cdeac041e8e -r 805f65e6fd97 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Thu Oct 30 12:29:30 2003 +0000
+++ b/mk/bsd.pkg.mk     Thu Oct 30 12:36:01 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1299 2003/10/30 10:32:45 wiz Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1300 2003/10/30 12:36:01 grant Exp $
 #
 # This file is in the public domain.
 #
@@ -4026,7 +4026,7 @@
                        ${ECHO_MSG} "=> No directory for $$dir.  Skipping.."; \
                else                                                    \
                        cd $$dir ;                                      \
-                       ${MAKE} ${MAKEFLAGS} $$target _PKGSRC_DEPS=", ${PKGNAME}${_PKGSRC_DEPS}" PKGNAME_REQD="$$pkg"; \
+                       ${MAKE} ${MAKEFLAGS} $$target _PKGSRC_DEPS=", ${PKGNAME}${_PKGSRC_DEPS}" PKGNAME_REQD=\'$$pkg\'; \
                        ${ECHO_MSG} "${_PKGSRC_IN}> Returning to build of ${PKGNAME}"; \
                fi;                                                     \
        fi



Home | Main Index | Thread Index | Old Index