diff options
author | marino <marino@FreeBSD.org> | 2013-09-12 10:20:45 +0000 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2013-09-12 10:20:45 +0000 |
commit | 03cb19884e0d5be413e8926de9023578c1aa7a4a (patch) | |
tree | b6fffa3aa1ee2f77abdf2d48d58eed882094f1fb | |
parent | 5af041b603ad4772f17271f9f7231ece40c0fa5c (diff) | |
download | FreeBSD-ports-03cb19884e0d5be413e8926de9023578c1aa7a4a.zip FreeBSD-ports-03cb19884e0d5be413e8926de9023578c1aa7a4a.tar.gz |
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
-rw-r--r-- | lang/gcc/Makefile | 4 | ||||
-rw-r--r-- | lang/gcc34/Makefile | 4 | ||||
-rw-r--r-- | lang/gcc42/Makefile | 4 | ||||
-rw-r--r-- | lang/gcc44/Makefile | 4 | ||||
-rw-r--r-- | lang/gcc46/Makefile | 4 | ||||
-rw-r--r-- | lang/gcc47/Makefile | 4 | ||||
-rw-r--r-- | lang/gcc48/Makefile | 4 | ||||
-rw-r--r-- | lang/gcc49/Makefile | 4 |
8 files changed, 16 insertions, 16 deletions
diff --git a/lang/gcc/Makefile b/lang/gcc/Makefile index 67e1d86..6659120 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 64faa44..d6ff778 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 01cbeaa..ef93377 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 ef9e4ff..ab88807 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 45c0acc..2988edf 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 0db23c2..8d5328b 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 4a7327a..3dc8903 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 314253f..2963e89 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 |