diff options
author | minskim <minskim> | 2008-04-30 03:14:55 +0000 |
---|---|---|
committer | minskim <minskim> | 2008-04-30 03:14:55 +0000 |
commit | 173795613a02d607c1537bb3e4ed4d99cbcb0abc (patch) | |
tree | 411c058ba7d40e0f4f9d1dd130358054bc8e1791 | |
parent | 825ac775710064bc4510b6cf339a011062ace38b (diff) | |
download | pkgsrc-173795613a02d607c1537bb3e4ed4d99cbcb0abc.tar.gz |
Set packagemaker so that the .pkg is built on Darwin.
This functionality disappeared when mkbinarykit was merged into bootstrap.
Still need to revive support for universal binary.
-rwxr-xr-x | bootstrap/bootstrap | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap index 276c952e1f3..21595192f94 100755 --- a/bootstrap/bootstrap +++ b/bootstrap/bootstrap @@ -1,6 +1,6 @@ #! /bin/sh -# $NetBSD: bootstrap,v 1.122 2008/04/29 22:03:19 minskim Exp $ +# $NetBSD: bootstrap,v 1.123 2008/04/30 03:14:55 minskim Exp $ # # # Copyright (c) 2001-2002 Alistair G. Crooks. All rights reserved. @@ -445,6 +445,17 @@ Darwin) set_opsys=no machine_arch=`uname -p` CC="gcc -isystem /usr/include"; export CC + osrev=`uname -r` + macosx_version=`echo $osrev | awk -F . '{ print "10."$1-4; }'` + case "$macosx_version" in + 10.[0-4]) + packagemaker=/Developer/Tools/packagemaker + ;; + *) + packagemaker=/Developer/usr/bin/packagemaker + ;; + esac + unset osrev macosx_version ;; DragonFly) root_group=wheel |