aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc34
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/gcc34
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/gcc34')
-rw-r--r--lang/gcc34/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/gcc34/Makefile b/lang/gcc34/Makefile
index 64faa44d86c8..d6ff7785c5c6 100644
--- a/lang/gcc34/Makefile
+++ b/lang/gcc34/Makefile
@@ -35,9 +35,9 @@ BROKEN= Does not compile on FreeBSD 10.0 and later
.endif
.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}