diff options
author | jmmv <jmmv@pkgsrc.org> | 2006-02-16 13:25:43 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2006-02-16 13:25:43 +0000 |
commit | 126da5a7901cedb39fe1b33301a90990bad5578c (patch) | |
tree | 45f033504526cc02c5a10cf3ed5113cc73ddcc3c | |
parent | 1a417703863e01b3cfbc8695c94c4c65a6b8d653 (diff) | |
download | pkgsrc-126da5a7901cedb39fe1b33301a90990bad5578c.tar.gz |
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.
-rw-r--r-- | pkgtools/pkg_comp/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/pkg_comp/files/pkg_comp.sh | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/pkgtools/pkg_comp/Makefile b/pkgtools/pkg_comp/Makefile index d4079febd06..8579ebf4a6d 100644 --- a/pkgtools/pkg_comp/Makefile +++ b/pkgtools/pkg_comp/Makefile @@ -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 --git a/pkgtools/pkg_comp/files/pkg_comp.sh b/pkgtools/pkg_comp/files/pkg_comp.sh index 39605f1dac2..0a9643a2174 100644 --- a/pkgtools/pkg_comp/files/pkg_comp.sh +++ b/pkgtools/pkg_comp/files/pkg_comp.sh @@ -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> @@ -566,9 +566,7 @@ EOF 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 |