aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/gcc47/Makefile10
-rw-r--r--lang/gcc47/distinfo1
2 files changed, 6 insertions, 5 deletions
diff --git a/lang/gcc47/Makefile b/lang/gcc47/Makefile
index de0e2e3b224e..0369f285498a 100644
--- a/lang/gcc47/Makefile
+++ b/lang/gcc47/Makefile
@@ -3,7 +3,7 @@
PORTNAME= gcc
PORTVERSION= 4.7.4
-PORTREVISION= 5
+PORTREVISION= 6
PORTEPOCH= 1
CATEGORIES= lang
MASTER_SITES= GCC/releases/gcc-${PORTVERSION}
@@ -15,6 +15,8 @@ COMMENT= GNU Compiler Collection 4.7
LICENSE= GPLv3 GPLv3RLE
LICENSE_COMB= multi
+ONLY_FOR_ARCHS= amd64 i386 powerpc sparc64
+
LIB_DEPENDS= libgmp.so:math/gmp \
libmpfr.so:math/mpfr \
libmpc.so:math/mpc
@@ -27,11 +29,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 i386 powerpc sparc64
USES= cpe gmake iconv libtool makeinfo perl5 tar:bzip2
USE_BINUTILS= yes
USE_PERL5= build
@@ -42,7 +41,7 @@ BOOTSTRAP_DESC= Build using a full bootstrap
.include <bsd.port.pre.mk>
-.if ${ARCH} == "amd64"
+.if ${ARCH} == amd64
CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL}
.endif
@@ -107,6 +106,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}\///}
diff --git a/lang/gcc47/distinfo b/lang/gcc47/distinfo
index 1bcb0223baf5..a0278ee2d06a 100644
--- a/lang/gcc47/distinfo
+++ b/lang/gcc47/distinfo
@@ -1,2 +1,3 @@
+TIMESTAMP = 1506192525
SHA256 (gcc-4.7.4.tar.bz2) = 92e61c6dc3a0a449e62d72a38185fda550168a86702dea07125ebd3ec3996282
SIZE (gcc-4.7.4.tar.bz2) = 82935453