pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/bootstrap Add --abi to set $ABI correctly, avoids the ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eff22d198e59
branches:  trunk
changeset: 543425:eff22d198e59
user:      sketch <sketch%pkgsrc.org@localhost>
date:      Tue Jun 17 11:38:52 2008 +0000

description:
Add --abi to set $ABI correctly, avoids the need for CFLAGS hacks.

diffstat:

 bootstrap/bootstrap |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 184aab476935 -r eff22d198e59 bootstrap/bootstrap
--- a/bootstrap/bootstrap       Tue Jun 17 11:23:48 2008 +0000
+++ b/bootstrap/bootstrap       Tue Jun 17 11:38:52 2008 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# $NetBSD: bootstrap,v 1.128 2008/06/11 12:47:07 sketch Exp $
+# $NetBSD: bootstrap,v 1.129 2008/06/17 11:38:52 sketch Exp $
 #
 #
 # Copyright (c) 2001-2002 Alistair G. Crooks.  All rights reserved.
@@ -70,6 +70,7 @@
     [ --unprivileged | --ignore-user-check ]
     [ --preserve-path ]
     [ --compiler <compiler> ]
+    [ --abi [32|64] ]
     [ --mk-fragment <mk.conf> ]
     [ --binary-kit <tarball> ]
     [ --gzip-binary-kit <tarball> ]
@@ -369,6 +370,8 @@
        --fetch-cmd)    fetch_cmd="$2"; shift ;;
        --compiler=*)   compiler=`get_optarg "$1"` ;;
        --compiler)     compiler="$2"; shift ;;
+       --abi=*)        abi=`get_optarg "$1"` ;;
+       --abi)          abi="$2"; shift ;;
        --ignore-case-check) ignorecasecheck=yes ;;
        --unprivileged | --ignore-user-check) unprivileged=yes ;;
        --preserve-path) preserve_path=yes ;;



Home | Main Index | Thread Index | Old Index