diff options
author | gerald <gerald@FreeBSD.org> | 2004-01-14 05:24:49 +0800 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2004-01-14 05:24:49 +0800 |
commit | a77673e64a51a8dc892f6a67914ff90ff4916e6c (patch) | |
tree | de6aa5f423d64e961f633dc0c966a3c42c86fefe /lang/gcc33 | |
parent | 9a1fd9c3576b0865bd84554e0c17e941fb722120 (diff) | |
download | freebsd-ports-graphics-a77673e64a51a8dc892f6a67914ff90ff4916e6c.tar.gz freebsd-ports-graphics-a77673e64a51a8dc892f6a67914ff90ff4916e6c.tar.zst freebsd-ports-graphics-a77673e64a51a8dc892f6a67914ff90ff4916e6c.zip |
Update to the 2004-01-12 snapshot of GCC 3.3. Make the automatic generation
of the package list for libraries and include files more failure tolerant, so
that at least `make install` now works on sparc64.
libgcj still is not supported and packaging is broken on sparc64; mark BROKEN
on that platform.
Diffstat (limited to 'lang/gcc33')
-rw-r--r-- | lang/gcc33/Makefile | 21 | ||||
-rw-r--r-- | lang/gcc33/distinfo | 12 |
2 files changed, 18 insertions, 15 deletions
diff --git a/lang/gcc33/Makefile b/lang/gcc33/Makefile index 0337178e74c..9c6822b0aa0 100644 --- a/lang/gcc33/Makefile +++ b/lang/gcc33/Makefile @@ -5,8 +5,7 @@ # # $FreeBSD$ # - -SNAPDATE=2004-01-05 +SNAPDATE=2004-01-12 PORTNAME= gcc PORTVERSION= 3.3.3 @@ -47,6 +46,10 @@ NOMANCOMPRESS= yes # too hard to deal with differences on 5-cur and releng4 .include <bsd.port.pre.mk> +.if ${ARCH} == sparc64 +BROKEN= "libgcj is not supported/packaging is broken on this platform" +.endif + CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL} GCC_VER= ${PORTVERSION:C/\.0$//} @@ -136,7 +139,7 @@ post-install: ${ECHO_CMD} 'echo "Not supported by GCC on this platform."' \ >> ${PREFIX}/bin/${f} ; \ ${CHMOD} a+x ${PREFIX}/bin/${f}; \ - fi + fi ${MV} -f ${PREFIX}/bin/${f} ${PREFIX}/bin/${f}33 ( ${TEST} ! -e ${PREFIX}/man/man1/${f}.1 \ || ${MV} -f ${PREFIX}/man/man1/${f}.1 \ @@ -166,12 +169,12 @@ post-install: done # Handle target libraries and GCJ include files. ${RM} -f ${WRKDIR}/PLIST.lib -.for inc in ${TARGLIB} include/gcj include/gnu include/java include/javax - cd ${PREFIX} ;\ - ${FIND} ${inc:S/^${PREFIX}\///} -type f -o -type l \ - >>${WRKDIR}/PLIST.lib ;\ - ${FIND} ${inc:S/^${PREFIX}\///} -type d \ - | sort -r | ${SED} -e 's/^/@dirrm /g' >>${WRKDIR}/PLIST.lib +.for d in ${TARGLIB:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax + cd ${PREFIX} ; if [ -d $d ]; then \ + ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\ + ${FIND} $d -type d | sort -r \ + | ${SED} -e 's/^/@dirrm /g' >>${WRKDIR}/PLIST.lib ;\ + fi .endfor (${ECHO_CMD} "@unexec rmdir %D/lib/gcc-lib/${CONFIGURE_TARGET} 2>&1 || true" ; ${ECHO_CMD} "@unexec rmdir %D/lib/gcc-lib 2>&1 || true") >> ${WRKDIR}/PLIST.lib ${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script diff --git a/lang/gcc33/distinfo b/lang/gcc33/distinfo index 9cd18740711..3fdcefefcb0 100644 --- a/lang/gcc33/distinfo +++ b/lang/gcc33/distinfo @@ -1,6 +1,6 @@ -MD5 (gcc-core-3.3-20040105.tar.bz2) = 972cb8b08fb2ab19694b06cebb526512 -MD5 (gcc-g++-3.3-20040105.tar.bz2) = 03d79136f451b964a1c7cf43dcf007d5 -MD5 (gcc-g77-3.3-20040105.tar.bz2) = abfcb1dc1f3fafdeaf1db979dcaccb69 -MD5 (gcc-java-3.3-20040105.tar.bz2) = 994e6dca70783e62c21d52298160ab53 -MD5 (gcc-objc-3.3-20040105.tar.bz2) = d771becee06c742b2c2ae23e5435d617 -MD5 (gcc-testsuite-3.3-20040105.tar.bz2) = 458c4e122467e0357726025ab1dae798 +MD5 (gcc-core-3.3-20040112.tar.bz2) = b8f656a1aa72e6024eedd021fd680dc7 +MD5 (gcc-g++-3.3-20040112.tar.bz2) = 631063d9ec424ad0b429b269dcf6014d +MD5 (gcc-g77-3.3-20040112.tar.bz2) = 569d19083cfec5f9a3b93a3e788b9f2e +MD5 (gcc-java-3.3-20040112.tar.bz2) = cdd93d91ca3c9e4896df5b1e999a9db7 +MD5 (gcc-objc-3.3-20040112.tar.bz2) = b00178a3bffeb51a6f82ceade4686229 +MD5 (gcc-testsuite-3.3-20040112.tar.bz2) = e244bce13fc8cd5184fd822cb7545e2e |