summaryrefslogtreecommitdiff
path: root/lang/gcc42
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2013-09-12 10:20:45 +0000
committerJohn Marino <marino@FreeBSD.org>2013-09-12 10:20:45 +0000
commit9518965c2157ea68db1e58608deac0c3d7463bbb (patch)
treeb6fffa3aa1ee2f77abdf2d48d58eed882094f1fb /lang/gcc42
parent- Unbreak the build in GCC-less environment by explicitly passing LD value (diff)
lang/gcc*: define CONFIGURE_TARGET genericly (8 ports)
Instead of hardcoding the compiler target as FreeBSD, use the OPSYS variable to it. This makes no practical difference for FreeBSD, but it helps DragonFly get properly configured. Approved by: gerald
Notes
Notes: svn path=/head/; revision=327052
Diffstat (limited to 'lang/gcc42')
-rw-r--r--lang/gcc42/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/gcc42/Makefile b/lang/gcc42/Makefile
index 01cbeaadf113..ef933775fbae 100644
--- a/lang/gcc42/Makefile
+++ b/lang/gcc42/Makefile
@@ -34,9 +34,9 @@ CONFIGURE_SCRIPT= ../${SRCDIR:S/${WRKDIR}\///}/configure
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
-CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
+CONFIGURE_TARGET= x86_64-portbld-${OPSYS:L}${OSREL}
.else
-CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_TARGET= ${ARCH}-portbld-${OPSYS:L}${OSREL}
.endif
SRCDIR= ${WRKDIR}/gcc-${VERSIONSTRING}