diff options
author | shannonjr <shannonjr@pkgsrc.org> | 2004-08-06 20:56:15 +0000 |
---|---|---|
committer | shannonjr <shannonjr@pkgsrc.org> | 2004-08-06 20:56:15 +0000 |
commit | 2a61b3e3bad6d2708d47677e603922996d203a21 (patch) | |
tree | 2bda7efa5a84b0a254aa40c1f80cf3b07babe0d2 /lang/gcc34 | |
parent | db7e1e47026d64a893e01a8b225a09c9a793110b (diff) | |
download | pkgsrc-2a61b3e3bad6d2708d47677e603922996d203a21.tar.gz |
Override "host" in configure only for NetBSD. This was requested because
the operating system for irix was not as expected. The choice for NetBSD
is maintained for backward compatibility.
Diffstat (limited to 'lang/gcc34')
-rw-r--r-- | lang/gcc34/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/gcc34/Makefile b/lang/gcc34/Makefile index 4f6accdbd18..977f33d596d 100644 --- a/lang/gcc34/Makefile +++ b/lang/gcc34/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2004/08/01 10:14:16 shannonjr Exp $ +# $NetBSD: Makefile,v 1.11 2004/08/06 20:56:15 shannonjr Exp $ # DISTNAME= gcc-${GCC_VERSION} @@ -131,10 +131,12 @@ MESSAGE_SUBST+= GCC_PREFIX=${GCC_PREFIX} CONFIGURE_ARGS+= --prefix=${GCC_PREFIX} CPPFLAGS+= -I${BUILDLINK_DIR}/include CFLAGS+= -I${BUILDLINK_DIR}/include +.if ${OPSYS} == "NetBSD" GCC_PLATFORM= ${LOWER_ARCH}--${LOWER_OPSYS}${APPEND_ELF}${LOWER_OS_VERSION:C/_.*//} CONFIGURE_ARGS+= --host=${GCC_PLATFORM} GCC_ARCHSUBDIR= ${GCC_SUBPREFIX}/lib/gcc/${GCC_PLATFORM}/${GCC_VERSION} GCC_ARCHDIR= ${PREFIX}/${GCC_ARCHSUBDIR} +.endif post-patch: .if (${MACHINE_GNU_ARCH} == "x86_64") |