Update to the 20110903 snapshot of GCC 4.7.

On the way update ccache links (when appropriate) when installing
and deinstalling this port/package. [1]

PR:		155568 [1]
Submitted by:	ehaupt [1]
This commit is contained in:
Gerald Pfeifer 2011-09-10 20:03:45 +00:00
parent c44fe8145e
commit 08ed001346
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=281598
6 changed files with 16 additions and 6 deletions

View file

@ -7,7 +7,7 @@
#
PORTNAME= gcc
PORTVERSION= 4.7.0.20110827
PORTVERSION= 4.7.0.20110903
CATEGORIES= lang java
MASTER_SITES= ${MASTER_SITE_GCC}
MASTER_SITE_SUBDIR= snapshots/${VERSIONSTRING}
@ -158,5 +158,8 @@ 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-20110827.tar.bz2) = 70c27388a1c089aede3d59f52aa79c9b1badc211571944dd88b95a77d7b1f520
SIZE (gcc-4.7-20110827.tar.bz2) = 72708908
SHA256 (gcc-4.7-20110903.tar.bz2) = 4ad420a75c8b06344efc5afdfa4f4e4f510d253fd768c9740b42d8124ae4e0a1
SIZE (gcc-4.7-20110903.tar.bz2) = 72908877

View file

@ -46,4 +46,6 @@ share/gcc-%%GCC_VER%%/python/libstdcxx/v6/printers.py
%%JAVA%%libdata/pkgconfig/libgcj-4.7.pc
%%JAVA%%share/java/libgcj-%%GCC_VER%%.jar
%%JAVA%%share/java/libgcj-tools-%%GCC_VER%%.jar
@exec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi
@unexec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi
@comment Insert PLIST.lib here

View file

@ -7,7 +7,7 @@
#
PORTNAME= gcc
PORTVERSION= 4.7.0.20110827
PORTVERSION= 4.7.0.20110903
CATEGORIES= lang java
MASTER_SITES= ${MASTER_SITE_GCC}
MASTER_SITE_SUBDIR= snapshots/${VERSIONSTRING}
@ -158,5 +158,8 @@ 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-20110827.tar.bz2) = 70c27388a1c089aede3d59f52aa79c9b1badc211571944dd88b95a77d7b1f520
SIZE (gcc-4.7-20110827.tar.bz2) = 72708908
SHA256 (gcc-4.7-20110903.tar.bz2) = 4ad420a75c8b06344efc5afdfa4f4e4f510d253fd768c9740b42d8124ae4e0a1
SIZE (gcc-4.7-20110903.tar.bz2) = 72908877

View file

@ -46,4 +46,6 @@ share/gcc-%%GCC_VER%%/python/libstdcxx/v6/printers.py
%%JAVA%%libdata/pkgconfig/libgcj-4.7.pc
%%JAVA%%share/java/libgcj-%%GCC_VER%%.jar
%%JAVA%%share/java/libgcj-tools-%%GCC_VER%%.jar
@exec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi
@unexec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi
@comment Insert PLIST.lib here