diff options
author | gerald <gerald@FreeBSD.org> | 2004-03-14 21:33:57 +0000 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2004-03-14 21:33:57 +0000 |
commit | 993db5ca27b693b80097ff97c3046d03cfd30484 (patch) | |
tree | 1eb2b7167a7268e5a07f1ec4805631e70038cc59 /lang/gcc44 | |
parent | d0626a777bb9f78870720fe5d1b8f87cfd56c78b (diff) | |
download | FreeBSD-ports-993db5ca27b693b80097ff97c3046d03cfd30484.zip FreeBSD-ports-993db5ca27b693b80097ff97c3046d03cfd30484.tar.gz |
Add a WITHOUT_LIBJAVA know, which disables building libgcj and thus saves
quite some build time and also disk. Make this the default on sparc64 and
ia64 where libgcj has not been ported to and thus fix long-standing packaging
issues on these two platforms.
On the way, update to the 20040310 snapshot of GCC 3.4.0.
PR: 63427 (mostly)
Diffstat (limited to 'lang/gcc44')
-rw-r--r-- | lang/gcc44/Makefile | 21 | ||||
-rw-r--r-- | lang/gcc44/distinfo | 24 | ||||
-rw-r--r-- | lang/gcc44/pkg-plist | 42 |
3 files changed, 50 insertions, 37 deletions
diff --git a/lang/gcc44/Makefile b/lang/gcc44/Makefile index a72dee3..c07880a 100644 --- a/lang/gcc44/Makefile +++ b/lang/gcc44/Makefile @@ -5,7 +5,7 @@ # # $FreeBSD$ # -SNAPDATE= 2004-02-18 +SNAPDATE= 2004-03-10 PORTNAME= gcc PORTVERSION= 3.4.0 @@ -47,6 +47,11 @@ BROKEN= "Configure broken due to renaming this architecture from x86_84." .if ${ARCH} == sparc64 BROKEN= "libgcj is not supported/packaging is broken on this platform" +WITHOUT_LIBJAVA= yes +.endif + +.if ${ARCH} == ia64 +WITHOUT_LIBJAVA= yes .endif CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL} @@ -93,6 +98,13 @@ MAN1= cpp${SUFFIX}.1 \ MAN7= fsf-funding.7 gfdl.7 gpl.7 INFO= cpp cppinternals g77 gcc gccinstall gccint gcj fastjar +.if defined(WITHOUT_LIBJAVA) +CONFIGURE_ARGS+= --disable-libgcj +PLIST_SUB+= LIBJAVA="@comment " +.else +PLIST_SUB+= LIBJAVA="" +.endif + pre-everything:: @${ECHO_MSG} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} ${PORTOBJFORMAT} target ${CONFIGURE_TARGET}" @@ -118,9 +130,10 @@ post-install: fake-manpages # gij and jv-convert, for example, are not built on all platforms. if [ -e ${PREFIX}/bin/${f}${SUFFIX} ]; then \ ${STRIP_CMD} ${PREFIX}/bin/${f}${SUFFIX}; \ - ( ${TEST} ! -e ${PREFIX}/man/man1/${f}.1 \ - || ${MV} -f ${PREFIX}/man/man1/${f}.1 \ - ${PREFIX}/man/man1/${f}${SUFFIX}.1 ); \ + fi + if [ -e ${PREFIX}/man/man1/${f}.1 ]; then \ + ${MV} -f ${PREFIX}/man/man1/${f}.1 \ + ${PREFIX}/man/man1/${f}${SUFFIX}.1; \ fi .endfor ${MV} -f ${PREFIX}/bin/g77${SUFFIX} ${PREFIX}/bin/g77-${SUFFIX} diff --git a/lang/gcc44/distinfo b/lang/gcc44/distinfo index e9eff98..0e8ce9c 100644 --- a/lang/gcc44/distinfo +++ b/lang/gcc44/distinfo @@ -1,12 +1,12 @@ -MD5 (gcc-core-3.4-20040218.tar.bz2) = b1212019aaf0d7c82632ee9bcaf4c8b1 -SIZE (gcc-core-3.4-20040218.tar.bz2) = 10492236 -MD5 (gcc-g++-3.4-20040218.tar.bz2) = 606929b915f4045e76e965d06ad68d9a -SIZE (gcc-g++-3.4-20040218.tar.bz2) = 2341243 -MD5 (gcc-g77-3.4-20040218.tar.bz2) = 02509a0b82092679d8aed693ab5838f1 -SIZE (gcc-g77-3.4-20040218.tar.bz2) = 890723 -MD5 (gcc-java-3.4-20040218.tar.bz2) = 6813f69150fc477c9ae21e15af937b05 -SIZE (gcc-java-3.4-20040218.tar.bz2) = 4542909 -MD5 (gcc-objc-3.4-20040218.tar.bz2) = a7ebf3d27aa22adbe5aeac2f6ebbad9b -SIZE (gcc-objc-3.4-20040218.tar.bz2) = 148650 -MD5 (gcc-testsuite-3.4-20040218.tar.bz2) = 2bd2c9a597ff26c3b38a6aa59f17b0b0 -SIZE (gcc-testsuite-3.4-20040218.tar.bz2) = 2588093 +MD5 (gcc-core-3.4-20040310.tar.bz2) = b04a71c77f13b8ea3040db9df2370866 +SIZE (gcc-core-3.4-20040310.tar.bz2) = 10503458 +MD5 (gcc-g++-3.4-20040310.tar.bz2) = 7d667491a395a7f98683f0c012ec2628 +SIZE (gcc-g++-3.4-20040310.tar.bz2) = 2348769 +MD5 (gcc-g77-3.4-20040310.tar.bz2) = a72829743616c3d3e3859e04fbf5aa23 +SIZE (gcc-g77-3.4-20040310.tar.bz2) = 891274 +MD5 (gcc-java-3.4-20040310.tar.bz2) = adb00021522d7dfb3df0e48d97dac2c6 +SIZE (gcc-java-3.4-20040310.tar.bz2) = 4545184 +MD5 (gcc-objc-3.4-20040310.tar.bz2) = f21454ec6d25eac35a0a80bdc0a0d05d +SIZE (gcc-objc-3.4-20040310.tar.bz2) = 148644 +MD5 (gcc-testsuite-3.4-20040310.tar.bz2) = 11d32cf4e740dbf5c18f20ebf277b55d +SIZE (gcc-testsuite-3.4-20040310.tar.bz2) = 2592631 diff --git a/lang/gcc44/pkg-plist b/lang/gcc44/pkg-plist index a25a199..e12444fd 100644 --- a/lang/gcc44/pkg-plist +++ b/lang/gcc44/pkg-plist @@ -14,30 +14,30 @@ bin/%%GNU_HOST%%-gcjh34 bin/gccbug34 bin/gcj34 bin/gcjh34 -bin/gij34 +%%LIBJAVA%%bin/gij34 bin/jv-scan34 bin/jcf-dump34 -bin/jv-convert34 +%%LIBJAVA%%bin/jv-convert34 bin/jar34 bin/grepjar34 -bin/rmic34 -bin/rmiregistry34 -bin/addr2name.awk34 -include/ffi.h -include/jni.h -include/jvmpi.h -lib/libffi.la -lib/libffi.a -lib/logging.properties -lib/pkgconfig/libgcj.pc -@dirrm lib/pkgconfig -lib/security/classpath.security -lib/security/libgcj.security -@dirrm lib/security -lib/lib-org-xml-sax.la -lib/lib-org-xml-sax.a -lib/lib-org-w3c-dom.la -lib/lib-org-w3c-dom.a +%%LIBJAVA%%bin/rmic34 +%%LIBJAVA%%bin/rmiregistry34 +%%LIBJAVA%%bin/addr2name.awk34 +%%LIBJAVA%%include/ffi.h +%%LIBJAVA%%include/jni.h +%%LIBJAVA%%include/jvmpi.h +%%LIBJAVA%%lib/libffi.la +%%LIBJAVA%%lib/libffi.a +%%LIBJAVA%%lib/logging.properties +%%LIBJAVA%%lib/pkgconfig/libgcj.pc +%%LIBJAVA%%@dirrm lib/pkgconfig +%%LIBJAVA%%lib/security/classpath.security +%%LIBJAVA%%lib/security/libgcj.security +%%LIBJAVA%%@dirrm lib/security +%%LIBJAVA%%lib/lib-org-xml-sax.la +%%LIBJAVA%%lib/lib-org-xml-sax.a +%%LIBJAVA%%lib/lib-org-w3c-dom.la +%%LIBJAVA%%lib/lib-org-w3c-dom.a libexec/gcc/%%GNU_HOST%%/%%GCC_VER%%/cc1 libexec/gcc/%%GNU_HOST%%/%%GCC_VER%%/cc1plus libexec/gcc/%%GNU_HOST%%/%%GCC_VER%%/f771 @@ -50,7 +50,7 @@ libexec/gcc/%%GNU_HOST%%/%%GCC_VER%%/install-tools/fixincl libexec/gcc/%%GNU_HOST%%/%%GCC_VER%%/install-tools/mkheaders @dirrm libexec/gcc/%%GNU_HOST%%/%%GCC_VER%%/install-tools @dirrm libexec/gcc/%%GNU_HOST%%/%%GCC_VER%% -share/java/libgcj-%%GCC_VER%%.jar +%%LIBJAVA%%share/java/libgcj-%%GCC_VER%%.jar @comment Insert PLIST.lib here @comment -=[ begin PLIST.lib ]=- @comment -=[ end PLIST.lib ]=- |