aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc49
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/gcc49
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/gcc49')
-rw-r--r--lang/gcc49/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/gcc49/Makefile b/lang/gcc49/Makefile
index 314253f06a17..2963e899a5da 100644
--- a/lang/gcc49/Makefile
+++ b/lang/gcc49/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
.if ${ARCH} == powerpc64