aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorNeil Blakey-Milner <nbm@FreeBSD.org>2001-04-02 10:35:29 +0000
committerNeil Blakey-Milner <nbm@FreeBSD.org>2001-04-02 10:35:29 +0000
commit029193aa5d41392adc57353bab4d4db8469d2de4 (patch)
treefcb135627f5ca07e1f427868769f10b77237819b /Tools
parentc5302c5f25fead2b869a056c761c815ae89719e8 (diff)
downloadports-029193aa5d41392adc57353bab4d4db8469d2de4.tar.gz
ports-029193aa5d41392adc57353bab4d4db8469d2de4.zip
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/mkptools/mkpbuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/Tools/scripts/mkptools/mkpbuild b/Tools/scripts/mkptools/mkpbuild
index 996d527547f6..52537912ff8d 100755
--- a/Tools/scripts/mkptools/mkpbuild
+++ b/Tools/scripts/mkptools/mkpbuild
@@ -53,10 +53,12 @@ $tmpdir = "$tmpbase/$user.$portname";
$wdpdir = "$tmpdir/wdp";
$predir = "$tmpdir/prefix";
-$hmake = "env WRKDIRPREFIX=$wdpdir " .
- "{SHARE,MAN,LIB,BIN}{OWN,GRP}=$user " .
- "PREFIX=$predir NO_PKG_REGISTER=1 make";
-
+$hmake = "env WRKDIRPREFIX=$wdpdir PREFIX=$predir NO_PKG_REGISTER=1 ";
+foreach (qw"SHARE MAN LIB BIN") {
+ $hmake .= $_ . "OWN=$user ";
+ $hmake .= $_ . "GRP=$user ";
+}
+$hmake .= "PREFIX=$predir NO_PKG_REGISTER=1 make";
open(BUILD, "$hmake |");
while(<BUILD>) {