diff options
author | abs <abs@pkgsrc.org> | 2001-07-05 21:11:07 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2001-07-05 21:11:07 +0000 |
commit | 039063bc7a5cbb3ad7c650e6b1030635eee09613 (patch) | |
tree | 7843e8a7cd770d2429c6b7c67939acff3595413d /mk | |
parent | 730f20bd146a1a1db853c7568c7ef5031eda7d64 (diff) | |
download | pkgsrc-039063bc7a5cbb3ad7c650e6b1030635eee09613.tar.gz |
bsd.prefs.mk: Make OBJECT_FMT work on NetBSD 1.3
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.prefs.mk | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk index e239652c332..65aab1ce7ed 100644 --- a/mk/bsd.prefs.mk +++ b/mk/bsd.prefs.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.prefs.mk,v 1.47 2001/07/03 02:20:38 mjl Exp $ +# $NetBSD: bsd.prefs.mk,v 1.48 2001/07/05 21:11:07 abs Exp $ # # Make file, included to get the site preferences, if any. Should # only be included by package Makefiles before any .if defined() @@ -93,6 +93,17 @@ NEED_OWN_INSTALL_TARGET=no .include <bsd.own.mk> +# /usr/share/mk/bsd.own.mk on NetBSD 1.3 does not define OBJECT_FMT +.if ${MACHINE_PLATFORM:MNetBSD-1.3*} != "" +.if ${MACHINE_ARCH} == "alpha" || \ +${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb" || \ +${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64" +OBJECT_FMT?=ELF +.else +OBJECT_FMT?=a.out +.endif +.endif + .if (${OPSYS} == "NetBSD") || (${OPSYS} == "SunOS") || (${OPSYS} == "Linux") SHAREOWN?= ${DOCOWN} SHAREGRP?= ${DOCGRP} |