summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorsketch <sketch@pkgsrc.org>2008-06-17 12:11:59 +0000
committersketch <sketch@pkgsrc.org>2008-06-17 12:11:59 +0000
commitdf476ad04222bdfca232514d5725c41dc3f56d16 (patch)
treececbfe20415b4e936e68bcbad06d17bdbd307de7 /bootstrap
parent024daa794e5f06286456f8fbbdf9f0ca59640013 (diff)
downloadpkgsrc-df476ad04222bdfca232514d5725c41dc3f56d16.tar.gz
Bail out if passed --abi on a platform for which we do special-case handling.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap/bootstrap7
1 files changed, 6 insertions, 1 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index fd9360dfb5d..34ddc062477 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -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 @@ EOF
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