diff options
author | Neil Blakey-Milner <nbm@FreeBSD.org> | 2001-04-02 10:35:29 +0000 |
---|---|---|
committer | Neil Blakey-Milner <nbm@FreeBSD.org> | 2001-04-02 10:35:29 +0000 |
commit | 029193aa5d41392adc57353bab4d4db8469d2de4 (patch) | |
tree | fcb135627f5ca07e1f427868769f10b77237819b /Tools | |
parent | c5302c5f25fead2b869a056c761c815ae89719e8 (diff) | |
download | ports-029193aa5d41392adc57353bab4d4db8469d2de4.tar.gz ports-029193aa5d41392adc57353bab4d4db8469d2de4.zip |
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/scripts/mkptools/mkpbuild | 10 |
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>) { |