summaryrefslogtreecommitdiff
path: root/lang/gcc46
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/gcc46
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/gcc46')
-rw-r--r--lang/gcc46/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/gcc46/Makefile b/lang/gcc46/Makefile
index 45c0acc325bc..2988edf33a83 100644
--- a/lang/gcc46/Makefile
+++ b/lang/gcc46/Makefile
@@ -48,9 +48,9 @@ BOOTSTRAP_DESC= Build using a full bootstrap
.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
LANGUAGES:= c,c++,objc,fortran