aboutsummaryrefslogtreecommitdiffstats
path: root/lang
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
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')
-rw-r--r--lang/gcc/Makefile4
-rw-r--r--lang/gcc34/Makefile4
-rw-r--r--lang/gcc42/Makefile4
-rw-r--r--lang/gcc44/Makefile4
-rw-r--r--lang/gcc46/Makefile4
-rw-r--r--lang/gcc47/Makefile4
-rw-r--r--lang/gcc48/Makefile4
-rw-r--r--lang/gcc49/Makefile4
8 files changed, 16 insertions, 16 deletions
diff --git a/lang/gcc/Makefile b/lang/gcc/Makefile
index 67e1d866a8c9..6659120e34f0 100644
--- a/lang/gcc/Makefile
+++ b/lang/gcc/Makefile
@@ -46,9 +46,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
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}
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}
diff --git a/lang/gcc44/Makefile b/lang/gcc44/Makefile
index ef9e4ff8b016..ab8880749455 100644
--- a/lang/gcc44/Makefile
+++ b/lang/gcc44/Makefile
@@ -32,9 +32,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}
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
diff --git a/lang/gcc47/Makefile b/lang/gcc47/Makefile
index 0db23c296bdb..8d5328bdfe27 100644
--- a/lang/gcc47/Makefile
+++ b/lang/gcc47/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
diff --git a/lang/gcc48/Makefile b/lang/gcc48/Makefile
index 4a7327aa8ceb..3dc8903af2c7 100644
--- a/lang/gcc48/Makefile
+++ b/lang/gcc48/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
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