pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/gcc34 Override "host" in configure only for NetBS...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e1a33ee2d65e
branches: trunk
changeset: 479183:e1a33ee2d65e
user: shannonjr <shannonjr%pkgsrc.org@localhost>
date: Fri Aug 06 20:56:15 2004 +0000
description:
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:
lang/gcc34/Makefile | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r ed3d3fc05f7a -r e1a33ee2d65e lang/gcc34/Makefile
--- a/lang/gcc34/Makefile Fri Aug 06 20:55:54 2004 +0000
+++ b/lang/gcc34/Makefile Fri Aug 06 20:56:15 2004 +0000
@@ -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 @@
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")
Home |
Main Index |
Thread Index |
Old Index