pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/bootstrap Bail out if passed --abi on a platform for w...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1811b1f8eefd
branches:  trunk
changeset: 543428:1811b1f8eefd
user:      sketch <sketch%pkgsrc.org@localhost>
date:      Tue Jun 17 12:11:59 2008 +0000

description:
Bail out if passed --abi on a platform for which we do special-case handling.

diffstat:

 bootstrap/bootstrap |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 1f88a1e39a9a -r 1811b1f8eefd bootstrap/bootstrap
--- a/bootstrap/bootstrap       Tue Jun 17 11:59:08 2008 +0000
+++ b/bootstrap/bootstrap       Tue Jun 17 12:11:59 2008 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# $NetBSD: bootstrap,v 1.130 2008/06/17 11:50:45 sketch Exp $
+# $NetBSD: bootstrap,v 1.131 2008/06/17 12:11:59 sketch Exp $
 #
 #
 # Copyright (c) 2001-2002 Alistair G. Crooks.  All rights reserved.
@@ -164,6 +164,11 @@
 get_abi()
 {
        abi_opsys=$@
+
+       if [ -n "$abi" ]; then
+               die "ERROR: $abi_opsys has special ABI handling, --abi not supported (yet)."
+       fi
+
        case "$abi_opsys" in
        IRIX)
                if [ `uname -r` -ge 6 ]; then



Home | Main Index | Thread Index | Old Index