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
commit045e6bc85ba4cd1fce18ffe5c54abc9a433c8dc7 (patch)
treececbfe20415b4e936e68bcbad06d17bdbd307de7 /bootstrap
parent8bb95ad74ed2cbd6e1dd898603e9b7fcaf06b08f (diff)
downloadpkgsrc-045e6bc85ba4cd1fce18ffe5c54abc9a433c8dc7.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