1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00

Update to the 20140208 snapshot of GCC 4.7.4.

Configure with --enable-gnu-indirect-function to enable the "ifunc"
attribute, a GCC extension. [1]

Remove the man7 pages, which we are not packaging, from the staging
area to silence some warnings some are concerned about. [2]

No longer run ccache-update-links as part of post-install which, in
the world of staging, no longer is what it used to be.  Rely on the
existing @exec and @unexec in pkg-plist instead. [3]

Submitted by:	jmg [1], miwi [2]
Discussed with:	kib [1], antoine [2][3]
This commit is contained in:
Gerald Pfeifer 2014-02-15 14:27:04 +00:00
parent 5fb0c8b5e6
commit 4fc5298731
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344390
2 changed files with 5 additions and 6 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= gcc47
PORTVERSION= 4.7.4.20140118
PORTVERSION= 4.7.4.20140208
CATEGORIES= lang java
MASTER_SITES= ${MASTER_SITE_GCC}
MASTER_SITE_SUBDIR= snapshots/${DISTVERSION}
@ -70,6 +70,7 @@ CONFIGURE_ARGS+=--disable-bootstrap
ALL_TARGET= bootstrap-lean
.endif
CONFIGURE_ARGS+=--disable-nls \
--enable-gnu-indirect-function \
--libdir=${TARGLIB} \
--libexecdir=${LIBEXEC} \
--program-suffix=${SUFFIX} \
@ -129,6 +130,7 @@ full-regression-test: build
post-install:
${RM} -f ${STAGEDIR}${TARGLIB}/*.la
${RM} -f ${STAGEDIR}${PREFIX}/man/man7/*
# Add target libraries and include files to packaging list.
${RM} -f ${WRKDIR}/PLIST.lib
.for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax
@ -139,8 +141,5 @@ post-install:
fi
.endfor
cd ${WRKDIR} ; ${SED} -i -e "/PLIST.lib/ r PLIST.lib" ${TMPPLIST}
@if type ccache-update-links >/dev/null 2>&1; then \
ccache-update-links -v; \
fi
.include <bsd.port.post.mk>

View File

@ -1,2 +1,2 @@
SHA256 (gcc-4.7-20140118.tar.bz2) = b0c93fc5149320ec6f25d10fe4f0ee87919023979406051375729e57aabf6906
SIZE (gcc-4.7-20140118.tar.bz2) = 78851434
SHA256 (gcc-4.7-20140208.tar.bz2) = 66ada8a86b5fea7a5d9e5d75f92d350b6e82469ee528cc77dd4eac0c87364a01
SIZE (gcc-4.7-20140208.tar.bz2) = 78880397