aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lang/gcc47/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/lang/gcc47/Makefile b/lang/gcc47/Makefile
index b1f6e2f11553..4785c0255182 100644
--- a/lang/gcc47/Makefile
+++ b/lang/gcc47/Makefile
@@ -3,6 +3,7 @@
PORTNAME= gcc47
PORTVERSION= 4.7.4
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= lang java
MASTER_SITES= ${MASTER_SITE_GCC}
@@ -33,7 +34,7 @@ DISTVERSION= ${PORTVERSION}
GCC_VERSION= ${PORTVERSION:C/(.+)\.[0-9]{8}/\1/}
SUFFIX= ${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/}
ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 sparc64
-USES= gmake iconv makeinfo perl5 tar:bzip2
+USES= gmake iconv libtool makeinfo perl5 tar:bzip2
USE_BINUTILS= yes
USE_PERL5= build
SSP_UNSAFE= yes
@@ -134,9 +135,7 @@ full-regression-test: build
; ${SRCDIR}/contrib/test_summary
.endif
-post-install:
- ${FIND} ${STAGEDIR}${TARGLIB} ${STAGEDIR}${LIBEXEC} \
- -name '*.la' | ${XARGS} ${RM}
+post-stage:
${RM} -f ${STAGEDIR}${PREFIX}/man/man7/*
${RM} -f ${STAGEDIR}${PREFIX}/bin/rebuild-gcj-db${SUFFIX} \
${STAGEDIR}${PREFIX}/man/man1/rebuild-gcj-db${SUFFIX}.1