summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2005-02-19 01:28:14 +0000
committergrant <grant@pkgsrc.org>2005-02-19 01:28:14 +0000
commit0fe4c2184ad66dac6b6bb7e08cc7b4587fbb702f (patch)
tree50ff48b9e9ac7723838ed26a9fee2c4a4edf82a9 /mk
parentae80d611bc60c47d5c5856c1059c1821e279cb44 (diff)
downloadpkgsrc-0fe4c2184ad66dac6b6bb7e08cc7b4587fbb702f.tar.gz
define GNU_ARCH for rs6000 and set OBJECT_FMT correctly for AIX.
Diffstat (limited to 'mk')
-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