diff options
author | marino <marino@FreeBSD.org> | 2013-09-12 18:20:45 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2013-09-12 18:20:45 +0800 |
commit | 03cb19884e0d5be413e8926de9023578c1aa7a4a (patch) | |
tree | b6fffa3aa1ee2f77abdf2d48d58eed882094f1fb /lang/gcc48/Makefile | |
parent | 5af041b603ad4772f17271f9f7231ece40c0fa5c (diff) | |
download | freebsd-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/gcc48/Makefile')
-rw-r--r-- | lang/gcc48/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
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 |