summaryrefslogtreecommitdiff
path: root/bootstrap/mkbinarykit
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2007-04-21 01:27:44 +0000
committertnn <tnn@pkgsrc.org>2007-04-21 01:27:44 +0000
commit6c1669a9456f19424813ffdd4f31da8ba644934a (patch)
tree4d6649e6207315658abbbd4eba4fe056a1e2ae27 /bootstrap/mkbinarykit
parentff8d3b0d52295e357505f610b490fb5d52ba4d44 (diff)
downloadpkgsrc-6c1669a9456f19424813ffdd4f31da8ba644934a.tar.gz
hpux support
Diffstat (limited to 'bootstrap/mkbinarykit')
-rwxr-xr-xbootstrap/mkbinarykit7
1 files changed, 5 insertions, 2 deletions
diff --git a/bootstrap/mkbinarykit b/bootstrap/mkbinarykit
index a8660e330e6..18f00debed2 100755
--- a/bootstrap/mkbinarykit
+++ b/bootstrap/mkbinarykit
@@ -1,6 +1,6 @@
#!/bin/sh
-# $NetBSD: mkbinarykit,v 1.16 2007/04/12 20:31:04 joerg Exp $
+# $NetBSD: mkbinarykit,v 1.17 2007/04/21 01:27:44 tnn Exp $
#
# Make a binary bootstrap kit and place it in targetdir (or current
# working directory if not specified). The mk.conf.example file is
@@ -13,7 +13,7 @@ usage="Usage: $0 "'
[ --no-build ] [ --workdir=<work dir> ] [ bootstrap script arguments ]
[ --fetch-cmd=<ftp command> ]'
-opsys=`uname -s`
+opsys=`uname -s | tr -d /-`
osrev=`uname -r`
ospro=`uname -p`
date=`date +%Y%m%d`
@@ -56,6 +56,9 @@ Interix)
pkgdbdir=$prefix/pkgdb
ospro=i386
;;
+HPUX)
+ ospro=`uname -m | sed 's/^9000.*$/hppa/'`
+ ;;
NetBSD)
;;
OpenBSD)