pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/bootstrap Set packagemaker so that the .pkg is built o...
details: https://anonhg.NetBSD.org/pkgsrc/rev/45e8051fd009
branches: trunk
changeset: 542028:45e8051fd009
user: minskim <minskim%pkgsrc.org@localhost>
date: Wed Apr 30 03:14:55 2008 +0000
description:
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.
diffstat:
bootstrap/bootstrap | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diffs (29 lines):
diff -r a94751d1b3a4 -r 45e8051fd009 bootstrap/bootstrap
--- a/bootstrap/bootstrap Tue Apr 29 22:03:19 2008 +0000
+++ b/bootstrap/bootstrap Wed Apr 30 03:14:55 2008 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index