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.
This commit is contained in:
jmmv 2006-02-16 13:25:43 +00:00
parent e92d3deb63
commit 0cd822b83e
2 changed files with 4 additions and 6 deletions

View file

@ -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

View file

@ -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