aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc46
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2013-09-12 18:20:45 +0800
committermarino <marino@FreeBSD.org>2013-09-12 18:20:45 +0800
commit03cb19884e0d5be413e8926de9023578c1aa7a4a (patch)
treeb6fffa3aa1ee2f77abdf2d48d58eed882094f1fb /lang/gcc46
parent5af041b603ad4772f17271f9f7231ece40c0fa5c (diff)
downloadfreebsd-ports-gnome-03cb19884e0d5be413e8926de9023578c1aa7a4a.tar.gz
freebsd-ports-gnome-03cb19884e0d5be413e8926de9023578c1aa7a4a.tar.zst
freebsd-ports-gnome-03cb19884e0d5be413e8926de9023578c1aa7a4a.zip
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
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