summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_comp/files
diff options
context:
space:
mode:
authorjmmv <jmmv>2010-11-13 16:23:22 +0000
committerjmmv <jmmv>2010-11-13 16:23:22 +0000
commitc3485b76150e18e0b9196a1be49b34074b7233e2 (patch)
tree8f4fba58bdd4958c6645b83b7fc848e1fd4c0bda /pkgtools/pkg_comp/files
parentd5b59b6ce34e1b745c733f0e0a42c34538f1710d (diff)
downloadpkgsrc-c3485b76150e18e0b9196a1be49b34074b7233e2.tar.gz
Update to 1.35:
* Fix BUILD_PACKAGES to really support multiple packages. Reported by Ian D. Leroux in private mail.
Diffstat (limited to 'pkgtools/pkg_comp/files')
-rw-r--r--pkgtools/pkg_comp/files/pkg_comp.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgtools/pkg_comp/files/pkg_comp.sh b/pkgtools/pkg_comp/files/pkg_comp.sh
index 74252e32e2e..4deecf1f99d 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.38 2010/07/20 16:50:26 jmmv Exp $
+# $NetBSD: pkg_comp.sh,v 1.39 2010/11/13 16:23:22 jmmv Exp $
#
# pkg_comp - Build packages inside a clean chroot environment
# Copyright (c) 2002, 2003, 2004, 2005 Julio M. Merino Vidal <jmmv@NetBSD.org>
@@ -414,8 +414,11 @@ pkg_makeroot()
[ "$nflag" = "no" -a -n "$INSTALL_PACKAGES" ] &&
pkg_install $INSTALL_PACKAGES
- [ "$nflag" = "no" -a -n "$BUILD_PACKAGES" ] &&
- build_and_install $BUILD_PACKAGES
+ if [ "$nflag" = "no" -a -n "$BUILD_PACKAGES" ]; then
+ for pkg in $BUILD_PACKAGES; do
+ build_and_install $pkg
+ done
+ fi
}
# makeroot