pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk define GNU_ARCH for rs6000 and set OBJECT_FMT corre...
details: https://anonhg.NetBSD.org/pkgsrc/rev/697064a3ea64
branches: trunk
changeset: 489249:697064a3ea64
user: grant <grant%pkgsrc.org@localhost>
date: Sat Feb 19 01:28:14 2005 +0000
description:
define GNU_ARCH for rs6000 and set OBJECT_FMT correctly for AIX.
diffstat:
mk/bsd.prefs.mk | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diffs (32 lines):
diff -r fb7085b4393d -r 697064a3ea64 mk/bsd.prefs.mk
--- a/mk/bsd.prefs.mk Sat Feb 19 00:46:27 2005 +0000
+++ b/mk/bsd.prefs.mk Sat Feb 19 01:28:14 2005 +0000
@@ -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.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 @@
. 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
Home |
Main Index |
Thread Index |
Old Index