pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_comp Update to 1.27:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9097ac4ad50c
branches:  trunk
changeset: 508204:9097ac4ad50c
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Thu Feb 16 13:25:43 2006 +0000

description:
Update to 1.27:
- Allow empty variables to be added to the mk.conf file (useful for,
  e.g., BINPKG_SITES).  Requested by Lans Nordlund in private mail.

diffstat:

 pkgtools/pkg_comp/Makefile          |  4 ++--
 pkgtools/pkg_comp/files/pkg_comp.sh |  6 ++----
 2 files changed, 4 insertions(+), 6 deletions(-)

diffs (34 lines):

diff -r cebb9e6facf0 -r 9097ac4ad50c pkgtools/pkg_comp/Makefile
--- a/pkgtools/pkg_comp/Makefile        Thu Feb 16 12:46:18 2006 +0000
+++ b/pkgtools/pkg_comp/Makefile        Thu Feb 16 13:25:43 2006 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.34 2006/02/10 23:41:20 salo Exp $
+# $NetBSD: Makefile,v 1.35 2006/02/16 13:25:43 jmmv Exp $
 
-DISTNAME=      pkg_comp-1.26
+DISTNAME=      pkg_comp-1.27
 CATEGORIES=    pkgtools
 MASTER_SITES=  # empty
 DISTFILES=     # empty
diff -r cebb9e6facf0 -r 9097ac4ad50c pkgtools/pkg_comp/files/pkg_comp.sh
--- a/pkgtools/pkg_comp/files/pkg_comp.sh       Thu Feb 16 12:46:18 2006 +0000
+++ b/pkgtools/pkg_comp/files/pkg_comp.sh       Thu Feb 16 13:25:43 2006 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: pkg_comp.sh,v 1.29 2006/02/10 23:41:20 salo Exp $
+# $NetBSD: pkg_comp.sh,v 1.30 2006/02/16 13:25:43 jmmv Exp $
 #
 # pkg_comp - Build packages inside a clean chroot environment
 # Copyright (c) 2002, 2003, 2004, 2005 Julio M. Merino Vidal <jmmv%NetBSD.org@localhost>
@@ -566,9 +566,7 @@
 
     for var in $MKCONF_VARS; do
         eval val=\""\$$var"\"
-        if [ -n "$val" ]; then
-            echo "$var ?= $val" >> $file
-        fi
+        echo "$var ?= $val" >> $file
     done
 
     if [ -n "$EXTRAMK" ]; then



Home | Main Index | Thread Index | Old Index