summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrant <grant>2005-02-19 01:28:14 +0000
committergrant <grant>2005-02-19 01:28:14 +0000
commitccb5b58c0bde30f349b088df5c3a38fcdfe4d56f (patch)
tree50ff48b9e9ac7723838ed26a9fee2c4a4edf82a9
parent041cf6015ca532d739a7a71acf7fb6156409a522 (diff)
downloadpkgsrc-ccb5b58c0bde30f349b088df5c3a38fcdfe4d56f.tar.gz
define GNU_ARCH for rs6000 and set OBJECT_FMT correctly for AIX.
-rw-r--r--mk/bsd.prefs.mk11
1 files changed, 6 insertions, 5 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index c59aa2df4da..8e7b71a4589 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.181 2005/02/17 07:11:59 grant Exp $
+# $NetBSD: bsd.prefs.mk,v 1.182 2005/02/19 01:28:14 grant Exp $
#
# Make file, included to get the site preferences, if any. Should
# only be included by package Makefiles before any .if defined()
@@ -72,6 +72,7 @@ GNU_ARCH.mipseb?= mipseb
GNU_ARCH.mipsel?= mipsel
GNU_ARCH.ns32k?= ns32k
GNU_ARCH.powerpc?= powerpc
+GNU_ARCH.rs6000?= rs6000
GNU_ARCH.sh3eb?= sh
GNU_ARCH.sh3el?= shle
GNU_ARCH.sparc?= sparc
@@ -246,10 +247,10 @@ OBJECT_FMT?= ELF
. else
OBJECT_FMT?= a.out
. endif
-.endif
-
-.if ${OPSYS} == "DragonFly"
-OBJECT_FMT= ELF
+.elif ${OPSYS} == "DragonFly"
+OBJECT_FMT= ELF
+.elif ${OPSYS} == "AIX"
+OBJECT_FMT= XCOFF
.endif
# Calculate depth