Subject: Re: NetBSD 1.3, pkgsrc and OBJECT_FMT
To: Alistair Crooks <agc@pkgsrc.org>
From: David Brownlee <abs@netbsd.org>
List: tech-pkg
Date: 04/30/2001 18:15:02
On Mon, 30 Apr 2001, Alistair Crooks wrote:
> a) Fix all such Makefiles (around 34)
> b) Catch OBJECT_FMT not being set and fix it in bsd.pkg.mk. (NO)
> c) put the .if ${OBJECT_FMT} == "ELF" stuff in .if defined(OBJECT_FMT)
> guards
d) Add the following to bsd.pkg.mk in the NetBSD 1.3 case
.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
?