aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc48
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2017-09-22 13:05:17 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2017-09-22 13:05:17 +0000
commitf8aba5dada7097258eb38ae1fb71aa844c828b08 (patch)
tree54bb57425bfdbcd2dba3c8095576686714ddbe68 /lang/gcc48
parent2b341a9f46fcae3a40618e981b65aead88d584be (diff)
downloadports-f8aba5dada7097258eb38ae1fb71aa844c828b08.tar.gz
ports-f8aba5dada7097258eb38ae1fb71aa844c828b08.zip
Notes
Diffstat (limited to 'lang/gcc48')
-rw-r--r--lang/gcc48/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/lang/gcc48/Makefile b/lang/gcc48/Makefile
index 505c33999229..e5005c735f76 100644
--- a/lang/gcc48/Makefile
+++ b/lang/gcc48/Makefile
@@ -3,7 +3,7 @@
PORTNAME= gcc
PORTVERSION= 4.8.5
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= lang
MASTER_SITES= GCC/releases/gcc-${PORTVERSION}
PKGNAMESUFFIX= ${SUFFIX}
@@ -14,6 +14,8 @@ COMMENT= GNU Compiler Collection 4.8
LICENSE= GPLv3 GPLv3RLE
LICENSE_COMB= multi
+ONLY_FOR_ARCHS= amd64 armv6 i386 powerpc powerpc64 sparc64
+
LIB_DEPENDS= libgmp.so:math/gmp \
libmpfr.so:math/mpfr \
libmpc.so:math/mpc
@@ -26,11 +28,8 @@ BUILD_DEPENDS+= runtest:misc/dejagnu
CPE_VENDOR= gnu
-# GCC_VERSION and SUFFIX relate to names of executables and directories
-# once installed.
GCC_VERSION= ${PORTVERSION}
SUFFIX= ${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/}
-ONLY_FOR_ARCHS= amd64 armv6 i386 powerpc powerpc64 sparc64
USES= compiler cpe gmake iconv libtool makeinfo perl5 tar:bzip2
USE_BINUTILS= yes
USE_PERL5= build
@@ -51,7 +50,7 @@ CONFIGURE_ARGS+= --disable-multilib
.include <bsd.port.pre.mk>
-.if ${ARCH} == "amd64"
+.if ${ARCH} == amd64
CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL}
.endif
@@ -59,7 +58,7 @@ CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL}
CONFIGURE_ENV+= UNAME_m="powerpc64"
.endif
-.if ${ARCH} == "armv6"
+.if ${ARCH} == armv6
# Override sys.mk including -O in CFLAGS which breaks libgomp building.
CFLAGS:= ${CFLAGS:S/-O/-O2/g}
. if ${COMPILER_TYPE} == clang
@@ -128,6 +127,7 @@ full-regression-test: build
post-stage:
${RM} ${STAGEDIR}${PREFIX}/man/man7/*
+ ${RM} -r ${STAGEDIR}${TARGLIB}/gcc/*/${GCC_VERSION}/include-fixed/
# Add target libraries and include files to packaging list.
${RM} ${WRKDIR}/PLIST.lib
.for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///}