Update to the 20050515 snapshot of GCC 4.1.0.

Add a conflict with the gcc34 port and address portlint warnings.
Simplify the handling of libraries which are not installed in all
configurations and put all libgcj libraries in the same directory
as all others, getting rid of the libtool .la archives on the way.
No longer install fsf-funding.7 gfdl.7 gpl.7, remove some cruft from
the post-install target, and simplify generation of the dynamic parts
of the packaging list.
This commit is contained in:
Gerald Pfeifer 2005-05-16 21:52:09 +00:00
parent 62f1cf7657
commit 5a7ced2020
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=135415
27 changed files with 243 additions and 369 deletions

View file

@ -8,7 +8,7 @@
PORTNAME= gcc
PORTVERSION= 4.1.0
PORTREVISION= 20050508
PORTREVISION= 20050515
CATEGORIES= lang java
VERSIONSTRING= 4.1-${PORTREVISION}
MASTER_SITES= ${MASTER_SITE_GCC}
@ -30,7 +30,7 @@ COMMENT= GNU Compiler Collection 4.1
LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4
.endif
CONFLICTS= gcc-3.3.* gcc-4.0.*
CONFLICTS= gcc-3.3.* gcc-3.4.* gcc-4.0.*
LATEST_LINK?= gcc41${PKGNAMESUFFIX}
NOT_FOR_ARCHS= alpha
USE_BISON= yes
@ -75,7 +75,7 @@ MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
CONFIGURE_ARGS+= --enable-shared
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/lib ${TARGLIB}
EXTRA_SHLIB= libgcc_s
EXTRA_LIBS= libgcc_s
.else
CONFIGURE_ARGS+= --disable-shared
.endif
@ -98,13 +98,13 @@ MAN1= cpp${SUFFIX}.1 \
jcf-dump${SUFFIX}.1 \
jv-scan${SUFFIX}.1 jv-convert${SUFFIX}.1 \
rmic${SUFFIX}.1 rmiregistry${SUFFIX}.1
MAN7= fsf-funding.7 gfdl.7 gpl.7
INFO= cpp cppinternals gcc gccinstall gccint gcj fastjar
.if defined(WITHOUT_LIBJAVA)
CONFIGURE_ARGS+= --disable-libgcj
PLIST_SUB+= LIBJAVA="@comment "
.else
EXTRA_LIBS+= libffi libgcj libgij
PLIST_SUB+= LIBJAVA=""
.endif
@ -152,14 +152,13 @@ post-install: fake-manpages
.endfor
# These libraries are moved from PREFIX/lib to avoid conflicts with
# the stock compiler.
.for f in libstdc++ libsupc++ libobjc libmudflap libmudflapth ${EXTRA_SHLIB}
.for f in libstdc++ libsupc++ libobjc libmudflap libmudflapth ${EXTRA_LIBS}
${MV} -f ${PREFIX}/lib/${f}.* ${TARGLIB}
.endfor
-${MV} -f ${PREFIX}/lib/libgcj.* ${TARGLIB}
${RM} -f ${PREFIX}/lib/libiberty.a
${RM} -f ${TARGLIB}/*.la
${RM} -f ${PREFIX}/lib/lib-org-*.la
# Handle target libraries, libexec binaries, and GCJ include files.
${RM} -f ${PREFIX}/lib/libiberty.a ${TARGLIB}/*.la
${RM} -f ${PREFIX}/man/man7/fsf-funding.7 \
${PREFIX}/man/man7/gfdl.7 ${PREFIX}/man/man7/gpl.7
# Add target libraries and include files to packaging list.
${RM} -f ${WRKDIR}/PLIST.lib
.for d in ${TARGLIB:S/^${PREFIX}\///} ${TARGLIB:S/lib/libexec/g:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax
cd ${PREFIX} ; if [ -d $d ]; then \
@ -168,15 +167,11 @@ post-install: fake-manpages
| ${SED} -e 's/^/@dirrm /g' >>${WRKDIR}/PLIST.lib ;\
fi
.endfor
(${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc/${CONFIGURE_TARGET} 2>&1 || true" ; ${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc 2>&1 || true") >> ${WRKDIR}/PLIST.lib
(${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc/${CONFIGURE_TARGET} 2>&1 || true" ; ${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc 2>&1 || true") >> ${WRKDIR}/PLIST.lib
${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script
${ECHO_CMD} "/Insert PLIST.lib" >> ${WRKDIR}/ex.script
${ECHO_CMD} "d" >> ${WRKDIR}/ex.script
${ECHO_CMD} "r ${WRKDIR}/PLIST.lib" >> ${WRKDIR}/ex.script
${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script
${CP} -p ${TMPPLIST} ${TMPPLIST}.pre
cd ${WRKDIR} ; ex < ex.script
${CAT} ${WRKDIR}/PLIST.lib >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc/${CONFIGURE_TARGET} 2>&1 || true" >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc 2>&1 || true" >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc/${CONFIGURE_TARGET} 2>&1 || true" >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc 2>&1 || true" >> ${TMPPLIST}
cklatest:
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/

View file

@ -1,12 +1,10 @@
MD5 (gcc-core-4.1-20050508.tar.bz2) = 18ae35fad10b30f8156b2f09efa9b2a5
SIZE (gcc-core-4.1-20050508.tar.bz2) = 13567663
MD5 (gcc-g++-4.1-20050508.tar.bz2) = 836be854fe21c91dfa71233e2a3e8748
SIZE (gcc-g++-4.1-20050508.tar.bz2) = 2661482
MD5 (gcc-java-4.1-20050508.tar.bz2) = 18a644f32878ba0d569e43fb7452afd8
SIZE (gcc-java-4.1-20050508.tar.bz2) = 6045354
MD5 (gcc-objc-4.1-20050508.tar.bz2) = 3ce414181728e91090d1ed88795b4299
SIZE (gcc-objc-4.1-20050508.tar.bz2) = 178875
MD5 (gcc-testsuite-4.1-20050508.tar.bz2) = 2b5beb9d5230d27cd7759367351bba9d
SIZE (gcc-testsuite-4.1-20050508.tar.bz2) = 3080624
MD5 (gcc-fortran-4.1-20050508.tar.bz2) = 01908f9710103501351e2c133391b6b4
SIZE (gcc-fortran-4.1-20050508.tar.bz2) = 578547
MD5 (gcc-core-4.1-20050515.tar.bz2) = 77409afc64edb58696e3c300e6f2060c
SIZE (gcc-core-4.1-20050515.tar.bz2) = 13663648
MD5 (gcc-g++-4.1-20050515.tar.bz2) = dcb62f071a259f16b24681da0c287335
SIZE (gcc-g++-4.1-20050515.tar.bz2) = 2662927
MD5 (gcc-java-4.1-20050515.tar.bz2) = 4aaad51eecd87ed4e9124058ceb69cba
SIZE (gcc-java-4.1-20050515.tar.bz2) = 6059003
MD5 (gcc-objc-4.1-20050515.tar.bz2) = bafaaa6ef5f9dcc510a912017961e97b
SIZE (gcc-objc-4.1-20050515.tar.bz2) = 178869
MD5 (gcc-testsuite-4.1-20050515.tar.bz2) = a99ebee17c508e2817da290c42cae778
SIZE (gcc-testsuite-4.1-20050515.tar.bz2) = 3085128

View file

@ -18,6 +18,7 @@ bin/gjnih41
bin/grepjar41
bin/jv-scan41
bin/jcf-dump41
include/mf-runtime.h
%%FORTRAN%%bin/gfortran41
%%FORTRAN%%lib/libgfortran.a
%%FORTRAN%%lib/libgfortranbegin.a
@ -30,18 +31,10 @@ bin/jcf-dump41
%%LIBJAVA%%bin/grmiregistry41
%%LIBJAVA%%bin/jv-convert41
%%LIBJAVA%%include/ffi.h
%%LIBJAVA%%lib/libffi.a
%%LIBJAVA%%lib/libffi.la
%%LIBJAVA%%lib/libgij.a
%%LIBJAVA%%lib/libgij.la
%%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%%libdata/pkgconfig/libgcj.pc
%%LIBJAVA%%share/java/libgcj-%%GCC_VER%%.jar
include/mf-runtime.h
%%LIBJAVA%%@dirrm lib/security
@comment Insert PLIST.lib here
@comment -=[ begin PLIST.lib ]=-
@comment -=[ end PLIST.lib ]=-

View file

@ -8,7 +8,7 @@
PORTNAME= gcc
PORTVERSION= 4.1.0
PORTREVISION= 20050508
PORTREVISION= 20050515
CATEGORIES= lang java
VERSIONSTRING= 4.1-${PORTREVISION}
MASTER_SITES= ${MASTER_SITE_GCC}
@ -30,7 +30,7 @@ COMMENT= GNU Compiler Collection 4.1
LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4
.endif
CONFLICTS= gcc-3.3.* gcc-4.0.*
CONFLICTS= gcc-3.3.* gcc-3.4.* gcc-4.0.*
LATEST_LINK?= gcc41${PKGNAMESUFFIX}
NOT_FOR_ARCHS= alpha
USE_BISON= yes
@ -75,7 +75,7 @@ MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
CONFIGURE_ARGS+= --enable-shared
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/lib ${TARGLIB}
EXTRA_SHLIB= libgcc_s
EXTRA_LIBS= libgcc_s
.else
CONFIGURE_ARGS+= --disable-shared
.endif
@ -98,13 +98,13 @@ MAN1= cpp${SUFFIX}.1 \
jcf-dump${SUFFIX}.1 \
jv-scan${SUFFIX}.1 jv-convert${SUFFIX}.1 \
rmic${SUFFIX}.1 rmiregistry${SUFFIX}.1
MAN7= fsf-funding.7 gfdl.7 gpl.7
INFO= cpp cppinternals gcc gccinstall gccint gcj fastjar
.if defined(WITHOUT_LIBJAVA)
CONFIGURE_ARGS+= --disable-libgcj
PLIST_SUB+= LIBJAVA="@comment "
.else
EXTRA_LIBS+= libffi libgcj libgij
PLIST_SUB+= LIBJAVA=""
.endif
@ -152,14 +152,13 @@ post-install: fake-manpages
.endfor
# These libraries are moved from PREFIX/lib to avoid conflicts with
# the stock compiler.
.for f in libstdc++ libsupc++ libobjc libmudflap libmudflapth ${EXTRA_SHLIB}
.for f in libstdc++ libsupc++ libobjc libmudflap libmudflapth ${EXTRA_LIBS}
${MV} -f ${PREFIX}/lib/${f}.* ${TARGLIB}
.endfor
-${MV} -f ${PREFIX}/lib/libgcj.* ${TARGLIB}
${RM} -f ${PREFIX}/lib/libiberty.a
${RM} -f ${TARGLIB}/*.la
${RM} -f ${PREFIX}/lib/lib-org-*.la
# Handle target libraries, libexec binaries, and GCJ include files.
${RM} -f ${PREFIX}/lib/libiberty.a ${TARGLIB}/*.la
${RM} -f ${PREFIX}/man/man7/fsf-funding.7 \
${PREFIX}/man/man7/gfdl.7 ${PREFIX}/man/man7/gpl.7
# Add target libraries and include files to packaging list.
${RM} -f ${WRKDIR}/PLIST.lib
.for d in ${TARGLIB:S/^${PREFIX}\///} ${TARGLIB:S/lib/libexec/g:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax
cd ${PREFIX} ; if [ -d $d ]; then \
@ -168,15 +167,11 @@ post-install: fake-manpages
| ${SED} -e 's/^/@dirrm /g' >>${WRKDIR}/PLIST.lib ;\
fi
.endfor
(${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc/${CONFIGURE_TARGET} 2>&1 || true" ; ${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc 2>&1 || true") >> ${WRKDIR}/PLIST.lib
(${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc/${CONFIGURE_TARGET} 2>&1 || true" ; ${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc 2>&1 || true") >> ${WRKDIR}/PLIST.lib
${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script
${ECHO_CMD} "/Insert PLIST.lib" >> ${WRKDIR}/ex.script
${ECHO_CMD} "d" >> ${WRKDIR}/ex.script
${ECHO_CMD} "r ${WRKDIR}/PLIST.lib" >> ${WRKDIR}/ex.script
${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script
${CP} -p ${TMPPLIST} ${TMPPLIST}.pre
cd ${WRKDIR} ; ex < ex.script
${CAT} ${WRKDIR}/PLIST.lib >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc/${CONFIGURE_TARGET} 2>&1 || true" >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc 2>&1 || true" >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc/${CONFIGURE_TARGET} 2>&1 || true" >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc 2>&1 || true" >> ${TMPPLIST}
cklatest:
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/

View file

@ -1,12 +1,10 @@
MD5 (gcc-core-4.1-20050508.tar.bz2) = 18ae35fad10b30f8156b2f09efa9b2a5
SIZE (gcc-core-4.1-20050508.tar.bz2) = 13567663
MD5 (gcc-g++-4.1-20050508.tar.bz2) = 836be854fe21c91dfa71233e2a3e8748
SIZE (gcc-g++-4.1-20050508.tar.bz2) = 2661482
MD5 (gcc-java-4.1-20050508.tar.bz2) = 18a644f32878ba0d569e43fb7452afd8
SIZE (gcc-java-4.1-20050508.tar.bz2) = 6045354
MD5 (gcc-objc-4.1-20050508.tar.bz2) = 3ce414181728e91090d1ed88795b4299
SIZE (gcc-objc-4.1-20050508.tar.bz2) = 178875
MD5 (gcc-testsuite-4.1-20050508.tar.bz2) = 2b5beb9d5230d27cd7759367351bba9d
SIZE (gcc-testsuite-4.1-20050508.tar.bz2) = 3080624
MD5 (gcc-fortran-4.1-20050508.tar.bz2) = 01908f9710103501351e2c133391b6b4
SIZE (gcc-fortran-4.1-20050508.tar.bz2) = 578547
MD5 (gcc-core-4.1-20050515.tar.bz2) = 77409afc64edb58696e3c300e6f2060c
SIZE (gcc-core-4.1-20050515.tar.bz2) = 13663648
MD5 (gcc-g++-4.1-20050515.tar.bz2) = dcb62f071a259f16b24681da0c287335
SIZE (gcc-g++-4.1-20050515.tar.bz2) = 2662927
MD5 (gcc-java-4.1-20050515.tar.bz2) = 4aaad51eecd87ed4e9124058ceb69cba
SIZE (gcc-java-4.1-20050515.tar.bz2) = 6059003
MD5 (gcc-objc-4.1-20050515.tar.bz2) = bafaaa6ef5f9dcc510a912017961e97b
SIZE (gcc-objc-4.1-20050515.tar.bz2) = 178869
MD5 (gcc-testsuite-4.1-20050515.tar.bz2) = a99ebee17c508e2817da290c42cae778
SIZE (gcc-testsuite-4.1-20050515.tar.bz2) = 3085128

View file

@ -18,6 +18,7 @@ bin/gjnih41
bin/grepjar41
bin/jv-scan41
bin/jcf-dump41
include/mf-runtime.h
%%FORTRAN%%bin/gfortran41
%%FORTRAN%%lib/libgfortran.a
%%FORTRAN%%lib/libgfortranbegin.a
@ -30,18 +31,10 @@ bin/jcf-dump41
%%LIBJAVA%%bin/grmiregistry41
%%LIBJAVA%%bin/jv-convert41
%%LIBJAVA%%include/ffi.h
%%LIBJAVA%%lib/libffi.a
%%LIBJAVA%%lib/libffi.la
%%LIBJAVA%%lib/libgij.a
%%LIBJAVA%%lib/libgij.la
%%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%%libdata/pkgconfig/libgcj.pc
%%LIBJAVA%%share/java/libgcj-%%GCC_VER%%.jar
include/mf-runtime.h
%%LIBJAVA%%@dirrm lib/security
@comment Insert PLIST.lib here
@comment -=[ begin PLIST.lib ]=-
@comment -=[ end PLIST.lib ]=-

View file

@ -8,7 +8,7 @@
PORTNAME= gcc
PORTVERSION= 4.1.0
PORTREVISION= 20050508
PORTREVISION= 20050515
CATEGORIES= lang java
VERSIONSTRING= 4.1-${PORTREVISION}
MASTER_SITES= ${MASTER_SITE_GCC}
@ -30,7 +30,7 @@ COMMENT= GNU Compiler Collection 4.1
LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4
.endif
CONFLICTS= gcc-3.3.* gcc-4.0.*
CONFLICTS= gcc-3.3.* gcc-3.4.* gcc-4.0.*
LATEST_LINK?= gcc41${PKGNAMESUFFIX}
NOT_FOR_ARCHS= alpha
USE_BISON= yes
@ -75,7 +75,7 @@ MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
CONFIGURE_ARGS+= --enable-shared
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/lib ${TARGLIB}
EXTRA_SHLIB= libgcc_s
EXTRA_LIBS= libgcc_s
.else
CONFIGURE_ARGS+= --disable-shared
.endif
@ -98,13 +98,13 @@ MAN1= cpp${SUFFIX}.1 \
jcf-dump${SUFFIX}.1 \
jv-scan${SUFFIX}.1 jv-convert${SUFFIX}.1 \
rmic${SUFFIX}.1 rmiregistry${SUFFIX}.1
MAN7= fsf-funding.7 gfdl.7 gpl.7
INFO= cpp cppinternals gcc gccinstall gccint gcj fastjar
.if defined(WITHOUT_LIBJAVA)
CONFIGURE_ARGS+= --disable-libgcj
PLIST_SUB+= LIBJAVA="@comment "
.else
EXTRA_LIBS+= libffi libgcj libgij
PLIST_SUB+= LIBJAVA=""
.endif
@ -152,14 +152,13 @@ post-install: fake-manpages
.endfor
# These libraries are moved from PREFIX/lib to avoid conflicts with
# the stock compiler.
.for f in libstdc++ libsupc++ libobjc libmudflap libmudflapth ${EXTRA_SHLIB}
.for f in libstdc++ libsupc++ libobjc libmudflap libmudflapth ${EXTRA_LIBS}
${MV} -f ${PREFIX}/lib/${f}.* ${TARGLIB}
.endfor
-${MV} -f ${PREFIX}/lib/libgcj.* ${TARGLIB}
${RM} -f ${PREFIX}/lib/libiberty.a
${RM} -f ${TARGLIB}/*.la
${RM} -f ${PREFIX}/lib/lib-org-*.la
# Handle target libraries, libexec binaries, and GCJ include files.
${RM} -f ${PREFIX}/lib/libiberty.a ${TARGLIB}/*.la
${RM} -f ${PREFIX}/man/man7/fsf-funding.7 \
${PREFIX}/man/man7/gfdl.7 ${PREFIX}/man/man7/gpl.7
# Add target libraries and include files to packaging list.
${RM} -f ${WRKDIR}/PLIST.lib
.for d in ${TARGLIB:S/^${PREFIX}\///} ${TARGLIB:S/lib/libexec/g:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax
cd ${PREFIX} ; if [ -d $d ]; then \
@ -168,15 +167,11 @@ post-install: fake-manpages
| ${SED} -e 's/^/@dirrm /g' >>${WRKDIR}/PLIST.lib ;\
fi
.endfor
(${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc/${CONFIGURE_TARGET} 2>&1 || true" ; ${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc 2>&1 || true") >> ${WRKDIR}/PLIST.lib
(${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc/${CONFIGURE_TARGET} 2>&1 || true" ; ${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc 2>&1 || true") >> ${WRKDIR}/PLIST.lib
${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script
${ECHO_CMD} "/Insert PLIST.lib" >> ${WRKDIR}/ex.script
${ECHO_CMD} "d" >> ${WRKDIR}/ex.script
${ECHO_CMD} "r ${WRKDIR}/PLIST.lib" >> ${WRKDIR}/ex.script
${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script
${CP} -p ${TMPPLIST} ${TMPPLIST}.pre
cd ${WRKDIR} ; ex < ex.script
${CAT} ${WRKDIR}/PLIST.lib >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc/${CONFIGURE_TARGET} 2>&1 || true" >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc 2>&1 || true" >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc/${CONFIGURE_TARGET} 2>&1 || true" >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc 2>&1 || true" >> ${TMPPLIST}
cklatest:
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/

View file

@ -1,12 +1,10 @@
MD5 (gcc-core-4.1-20050508.tar.bz2) = 18ae35fad10b30f8156b2f09efa9b2a5
SIZE (gcc-core-4.1-20050508.tar.bz2) = 13567663
MD5 (gcc-g++-4.1-20050508.tar.bz2) = 836be854fe21c91dfa71233e2a3e8748
SIZE (gcc-g++-4.1-20050508.tar.bz2) = 2661482
MD5 (gcc-java-4.1-20050508.tar.bz2) = 18a644f32878ba0d569e43fb7452afd8
SIZE (gcc-java-4.1-20050508.tar.bz2) = 6045354
MD5 (gcc-objc-4.1-20050508.tar.bz2) = 3ce414181728e91090d1ed88795b4299
SIZE (gcc-objc-4.1-20050508.tar.bz2) = 178875
MD5 (gcc-testsuite-4.1-20050508.tar.bz2) = 2b5beb9d5230d27cd7759367351bba9d
SIZE (gcc-testsuite-4.1-20050508.tar.bz2) = 3080624
MD5 (gcc-fortran-4.1-20050508.tar.bz2) = 01908f9710103501351e2c133391b6b4
SIZE (gcc-fortran-4.1-20050508.tar.bz2) = 578547
MD5 (gcc-core-4.1-20050515.tar.bz2) = 77409afc64edb58696e3c300e6f2060c
SIZE (gcc-core-4.1-20050515.tar.bz2) = 13663648
MD5 (gcc-g++-4.1-20050515.tar.bz2) = dcb62f071a259f16b24681da0c287335
SIZE (gcc-g++-4.1-20050515.tar.bz2) = 2662927
MD5 (gcc-java-4.1-20050515.tar.bz2) = 4aaad51eecd87ed4e9124058ceb69cba
SIZE (gcc-java-4.1-20050515.tar.bz2) = 6059003
MD5 (gcc-objc-4.1-20050515.tar.bz2) = bafaaa6ef5f9dcc510a912017961e97b
SIZE (gcc-objc-4.1-20050515.tar.bz2) = 178869
MD5 (gcc-testsuite-4.1-20050515.tar.bz2) = a99ebee17c508e2817da290c42cae778
SIZE (gcc-testsuite-4.1-20050515.tar.bz2) = 3085128

View file

@ -18,6 +18,7 @@ bin/gjnih41
bin/grepjar41
bin/jv-scan41
bin/jcf-dump41
include/mf-runtime.h
%%FORTRAN%%bin/gfortran41
%%FORTRAN%%lib/libgfortran.a
%%FORTRAN%%lib/libgfortranbegin.a
@ -30,18 +31,10 @@ bin/jcf-dump41
%%LIBJAVA%%bin/grmiregistry41
%%LIBJAVA%%bin/jv-convert41
%%LIBJAVA%%include/ffi.h
%%LIBJAVA%%lib/libffi.a
%%LIBJAVA%%lib/libffi.la
%%LIBJAVA%%lib/libgij.a
%%LIBJAVA%%lib/libgij.la
%%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%%libdata/pkgconfig/libgcj.pc
%%LIBJAVA%%share/java/libgcj-%%GCC_VER%%.jar
include/mf-runtime.h
%%LIBJAVA%%@dirrm lib/security
@comment Insert PLIST.lib here
@comment -=[ begin PLIST.lib ]=-
@comment -=[ end PLIST.lib ]=-

View file

@ -8,7 +8,7 @@
PORTNAME= gcc
PORTVERSION= 4.1.0
PORTREVISION= 20050508
PORTREVISION= 20050515
CATEGORIES= lang java
VERSIONSTRING= 4.1-${PORTREVISION}
MASTER_SITES= ${MASTER_SITE_GCC}
@ -30,7 +30,7 @@ COMMENT= GNU Compiler Collection 4.1
LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4
.endif
CONFLICTS= gcc-3.3.* gcc-4.0.*
CONFLICTS= gcc-3.3.* gcc-3.4.* gcc-4.0.*
LATEST_LINK?= gcc41${PKGNAMESUFFIX}
NOT_FOR_ARCHS= alpha
USE_BISON= yes
@ -75,7 +75,7 @@ MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
CONFIGURE_ARGS+= --enable-shared
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/lib ${TARGLIB}
EXTRA_SHLIB= libgcc_s
EXTRA_LIBS= libgcc_s
.else
CONFIGURE_ARGS+= --disable-shared
.endif
@ -98,13 +98,13 @@ MAN1= cpp${SUFFIX}.1 \
jcf-dump${SUFFIX}.1 \
jv-scan${SUFFIX}.1 jv-convert${SUFFIX}.1 \
rmic${SUFFIX}.1 rmiregistry${SUFFIX}.1
MAN7= fsf-funding.7 gfdl.7 gpl.7
INFO= cpp cppinternals gcc gccinstall gccint gcj fastjar
.if defined(WITHOUT_LIBJAVA)
CONFIGURE_ARGS+= --disable-libgcj
PLIST_SUB+= LIBJAVA="@comment "
.else
EXTRA_LIBS+= libffi libgcj libgij
PLIST_SUB+= LIBJAVA=""
.endif
@ -152,14 +152,13 @@ post-install: fake-manpages
.endfor
# These libraries are moved from PREFIX/lib to avoid conflicts with
# the stock compiler.
.for f in libstdc++ libsupc++ libobjc libmudflap libmudflapth ${EXTRA_SHLIB}
.for f in libstdc++ libsupc++ libobjc libmudflap libmudflapth ${EXTRA_LIBS}
${MV} -f ${PREFIX}/lib/${f}.* ${TARGLIB}
.endfor
-${MV} -f ${PREFIX}/lib/libgcj.* ${TARGLIB}
${RM} -f ${PREFIX}/lib/libiberty.a
${RM} -f ${TARGLIB}/*.la
${RM} -f ${PREFIX}/lib/lib-org-*.la
# Handle target libraries, libexec binaries, and GCJ include files.
${RM} -f ${PREFIX}/lib/libiberty.a ${TARGLIB}/*.la
${RM} -f ${PREFIX}/man/man7/fsf-funding.7 \
${PREFIX}/man/man7/gfdl.7 ${PREFIX}/man/man7/gpl.7
# Add target libraries and include files to packaging list.
${RM} -f ${WRKDIR}/PLIST.lib
.for d in ${TARGLIB:S/^${PREFIX}\///} ${TARGLIB:S/lib/libexec/g:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax
cd ${PREFIX} ; if [ -d $d ]; then \
@ -168,15 +167,11 @@ post-install: fake-manpages
| ${SED} -e 's/^/@dirrm /g' >>${WRKDIR}/PLIST.lib ;\
fi
.endfor
(${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc/${CONFIGURE_TARGET} 2>&1 || true" ; ${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc 2>&1 || true") >> ${WRKDIR}/PLIST.lib
(${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc/${CONFIGURE_TARGET} 2>&1 || true" ; ${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc 2>&1 || true") >> ${WRKDIR}/PLIST.lib
${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script
${ECHO_CMD} "/Insert PLIST.lib" >> ${WRKDIR}/ex.script
${ECHO_CMD} "d" >> ${WRKDIR}/ex.script
${ECHO_CMD} "r ${WRKDIR}/PLIST.lib" >> ${WRKDIR}/ex.script
${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script
${CP} -p ${TMPPLIST} ${TMPPLIST}.pre
cd ${WRKDIR} ; ex < ex.script
${CAT} ${WRKDIR}/PLIST.lib >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc/${CONFIGURE_TARGET} 2>&1 || true" >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc 2>&1 || true" >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc/${CONFIGURE_TARGET} 2>&1 || true" >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc 2>&1 || true" >> ${TMPPLIST}
cklatest:
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/

View file

@ -1,12 +1,10 @@
MD5 (gcc-core-4.1-20050508.tar.bz2) = 18ae35fad10b30f8156b2f09efa9b2a5
SIZE (gcc-core-4.1-20050508.tar.bz2) = 13567663
MD5 (gcc-g++-4.1-20050508.tar.bz2) = 836be854fe21c91dfa71233e2a3e8748
SIZE (gcc-g++-4.1-20050508.tar.bz2) = 2661482
MD5 (gcc-java-4.1-20050508.tar.bz2) = 18a644f32878ba0d569e43fb7452afd8
SIZE (gcc-java-4.1-20050508.tar.bz2) = 6045354
MD5 (gcc-objc-4.1-20050508.tar.bz2) = 3ce414181728e91090d1ed88795b4299
SIZE (gcc-objc-4.1-20050508.tar.bz2) = 178875
MD5 (gcc-testsuite-4.1-20050508.tar.bz2) = 2b5beb9d5230d27cd7759367351bba9d
SIZE (gcc-testsuite-4.1-20050508.tar.bz2) = 3080624
MD5 (gcc-fortran-4.1-20050508.tar.bz2) = 01908f9710103501351e2c133391b6b4
SIZE (gcc-fortran-4.1-20050508.tar.bz2) = 578547
MD5 (gcc-core-4.1-20050515.tar.bz2) = 77409afc64edb58696e3c300e6f2060c
SIZE (gcc-core-4.1-20050515.tar.bz2) = 13663648
MD5 (gcc-g++-4.1-20050515.tar.bz2) = dcb62f071a259f16b24681da0c287335
SIZE (gcc-g++-4.1-20050515.tar.bz2) = 2662927
MD5 (gcc-java-4.1-20050515.tar.bz2) = 4aaad51eecd87ed4e9124058ceb69cba
SIZE (gcc-java-4.1-20050515.tar.bz2) = 6059003
MD5 (gcc-objc-4.1-20050515.tar.bz2) = bafaaa6ef5f9dcc510a912017961e97b
SIZE (gcc-objc-4.1-20050515.tar.bz2) = 178869
MD5 (gcc-testsuite-4.1-20050515.tar.bz2) = a99ebee17c508e2817da290c42cae778
SIZE (gcc-testsuite-4.1-20050515.tar.bz2) = 3085128

View file

@ -18,6 +18,7 @@ bin/gjnih41
bin/grepjar41
bin/jv-scan41
bin/jcf-dump41
include/mf-runtime.h
%%FORTRAN%%bin/gfortran41
%%FORTRAN%%lib/libgfortran.a
%%FORTRAN%%lib/libgfortranbegin.a
@ -30,18 +31,10 @@ bin/jcf-dump41
%%LIBJAVA%%bin/grmiregistry41
%%LIBJAVA%%bin/jv-convert41
%%LIBJAVA%%include/ffi.h
%%LIBJAVA%%lib/libffi.a
%%LIBJAVA%%lib/libffi.la
%%LIBJAVA%%lib/libgij.a
%%LIBJAVA%%lib/libgij.la
%%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%%libdata/pkgconfig/libgcj.pc
%%LIBJAVA%%share/java/libgcj-%%GCC_VER%%.jar
include/mf-runtime.h
%%LIBJAVA%%@dirrm lib/security
@comment Insert PLIST.lib here
@comment -=[ begin PLIST.lib ]=-
@comment -=[ end PLIST.lib ]=-

View file

@ -8,7 +8,7 @@
PORTNAME= gcc
PORTVERSION= 4.1.0
PORTREVISION= 20050508
PORTREVISION= 20050515
CATEGORIES= lang java
VERSIONSTRING= 4.1-${PORTREVISION}
MASTER_SITES= ${MASTER_SITE_GCC}
@ -30,7 +30,7 @@ COMMENT= GNU Compiler Collection 4.1
LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4
.endif
CONFLICTS= gcc-3.3.* gcc-4.0.*
CONFLICTS= gcc-3.3.* gcc-3.4.* gcc-4.0.*
LATEST_LINK?= gcc41${PKGNAMESUFFIX}
NOT_FOR_ARCHS= alpha
USE_BISON= yes
@ -75,7 +75,7 @@ MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
CONFIGURE_ARGS+= --enable-shared
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/lib ${TARGLIB}
EXTRA_SHLIB= libgcc_s
EXTRA_LIBS= libgcc_s
.else
CONFIGURE_ARGS+= --disable-shared
.endif
@ -98,13 +98,13 @@ MAN1= cpp${SUFFIX}.1 \
jcf-dump${SUFFIX}.1 \
jv-scan${SUFFIX}.1 jv-convert${SUFFIX}.1 \
rmic${SUFFIX}.1 rmiregistry${SUFFIX}.1
MAN7= fsf-funding.7 gfdl.7 gpl.7
INFO= cpp cppinternals gcc gccinstall gccint gcj fastjar
.if defined(WITHOUT_LIBJAVA)
CONFIGURE_ARGS+= --disable-libgcj
PLIST_SUB+= LIBJAVA="@comment "
.else
EXTRA_LIBS+= libffi libgcj libgij
PLIST_SUB+= LIBJAVA=""
.endif
@ -152,14 +152,13 @@ post-install: fake-manpages
.endfor
# These libraries are moved from PREFIX/lib to avoid conflicts with
# the stock compiler.
.for f in libstdc++ libsupc++ libobjc libmudflap libmudflapth ${EXTRA_SHLIB}
.for f in libstdc++ libsupc++ libobjc libmudflap libmudflapth ${EXTRA_LIBS}
${MV} -f ${PREFIX}/lib/${f}.* ${TARGLIB}
.endfor
-${MV} -f ${PREFIX}/lib/libgcj.* ${TARGLIB}
${RM} -f ${PREFIX}/lib/libiberty.a
${RM} -f ${TARGLIB}/*.la
${RM} -f ${PREFIX}/lib/lib-org-*.la
# Handle target libraries, libexec binaries, and GCJ include files.
${RM} -f ${PREFIX}/lib/libiberty.a ${TARGLIB}/*.la
${RM} -f ${PREFIX}/man/man7/fsf-funding.7 \
${PREFIX}/man/man7/gfdl.7 ${PREFIX}/man/man7/gpl.7
# Add target libraries and include files to packaging list.
${RM} -f ${WRKDIR}/PLIST.lib
.for d in ${TARGLIB:S/^${PREFIX}\///} ${TARGLIB:S/lib/libexec/g:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax
cd ${PREFIX} ; if [ -d $d ]; then \
@ -168,15 +167,11 @@ post-install: fake-manpages
| ${SED} -e 's/^/@dirrm /g' >>${WRKDIR}/PLIST.lib ;\
fi
.endfor
(${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc/${CONFIGURE_TARGET} 2>&1 || true" ; ${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc 2>&1 || true") >> ${WRKDIR}/PLIST.lib
(${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc/${CONFIGURE_TARGET} 2>&1 || true" ; ${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc 2>&1 || true") >> ${WRKDIR}/PLIST.lib
${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script
${ECHO_CMD} "/Insert PLIST.lib" >> ${WRKDIR}/ex.script
${ECHO_CMD} "d" >> ${WRKDIR}/ex.script
${ECHO_CMD} "r ${WRKDIR}/PLIST.lib" >> ${WRKDIR}/ex.script
${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script
${CP} -p ${TMPPLIST} ${TMPPLIST}.pre
cd ${WRKDIR} ; ex < ex.script
${CAT} ${WRKDIR}/PLIST.lib >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc/${CONFIGURE_TARGET} 2>&1 || true" >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc 2>&1 || true" >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc/${CONFIGURE_TARGET} 2>&1 || true" >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc 2>&1 || true" >> ${TMPPLIST}
cklatest:
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/

View file

@ -1,12 +1,10 @@
MD5 (gcc-core-4.1-20050508.tar.bz2) = 18ae35fad10b30f8156b2f09efa9b2a5
SIZE (gcc-core-4.1-20050508.tar.bz2) = 13567663
MD5 (gcc-g++-4.1-20050508.tar.bz2) = 836be854fe21c91dfa71233e2a3e8748
SIZE (gcc-g++-4.1-20050508.tar.bz2) = 2661482
MD5 (gcc-java-4.1-20050508.tar.bz2) = 18a644f32878ba0d569e43fb7452afd8
SIZE (gcc-java-4.1-20050508.tar.bz2) = 6045354
MD5 (gcc-objc-4.1-20050508.tar.bz2) = 3ce414181728e91090d1ed88795b4299
SIZE (gcc-objc-4.1-20050508.tar.bz2) = 178875
MD5 (gcc-testsuite-4.1-20050508.tar.bz2) = 2b5beb9d5230d27cd7759367351bba9d
SIZE (gcc-testsuite-4.1-20050508.tar.bz2) = 3080624
MD5 (gcc-fortran-4.1-20050508.tar.bz2) = 01908f9710103501351e2c133391b6b4
SIZE (gcc-fortran-4.1-20050508.tar.bz2) = 578547
MD5 (gcc-core-4.1-20050515.tar.bz2) = 77409afc64edb58696e3c300e6f2060c
SIZE (gcc-core-4.1-20050515.tar.bz2) = 13663648
MD5 (gcc-g++-4.1-20050515.tar.bz2) = dcb62f071a259f16b24681da0c287335
SIZE (gcc-g++-4.1-20050515.tar.bz2) = 2662927
MD5 (gcc-java-4.1-20050515.tar.bz2) = 4aaad51eecd87ed4e9124058ceb69cba
SIZE (gcc-java-4.1-20050515.tar.bz2) = 6059003
MD5 (gcc-objc-4.1-20050515.tar.bz2) = bafaaa6ef5f9dcc510a912017961e97b
SIZE (gcc-objc-4.1-20050515.tar.bz2) = 178869
MD5 (gcc-testsuite-4.1-20050515.tar.bz2) = a99ebee17c508e2817da290c42cae778
SIZE (gcc-testsuite-4.1-20050515.tar.bz2) = 3085128

View file

@ -18,6 +18,7 @@ bin/gjnih41
bin/grepjar41
bin/jv-scan41
bin/jcf-dump41
include/mf-runtime.h
%%FORTRAN%%bin/gfortran41
%%FORTRAN%%lib/libgfortran.a
%%FORTRAN%%lib/libgfortranbegin.a
@ -30,18 +31,10 @@ bin/jcf-dump41
%%LIBJAVA%%bin/grmiregistry41
%%LIBJAVA%%bin/jv-convert41
%%LIBJAVA%%include/ffi.h
%%LIBJAVA%%lib/libffi.a
%%LIBJAVA%%lib/libffi.la
%%LIBJAVA%%lib/libgij.a
%%LIBJAVA%%lib/libgij.la
%%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%%libdata/pkgconfig/libgcj.pc
%%LIBJAVA%%share/java/libgcj-%%GCC_VER%%.jar
include/mf-runtime.h
%%LIBJAVA%%@dirrm lib/security
@comment Insert PLIST.lib here
@comment -=[ begin PLIST.lib ]=-
@comment -=[ end PLIST.lib ]=-

View file

@ -8,7 +8,7 @@
PORTNAME= gcc
PORTVERSION= 4.1.0
PORTREVISION= 20050508
PORTREVISION= 20050515
CATEGORIES= lang java
VERSIONSTRING= 4.1-${PORTREVISION}
MASTER_SITES= ${MASTER_SITE_GCC}
@ -30,7 +30,7 @@ COMMENT= GNU Compiler Collection 4.1
LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4
.endif
CONFLICTS= gcc-3.3.* gcc-4.0.*
CONFLICTS= gcc-3.3.* gcc-3.4.* gcc-4.0.*
LATEST_LINK?= gcc41${PKGNAMESUFFIX}
NOT_FOR_ARCHS= alpha
USE_BISON= yes
@ -75,7 +75,7 @@ MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
CONFIGURE_ARGS+= --enable-shared
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/lib ${TARGLIB}
EXTRA_SHLIB= libgcc_s
EXTRA_LIBS= libgcc_s
.else
CONFIGURE_ARGS+= --disable-shared
.endif
@ -98,13 +98,13 @@ MAN1= cpp${SUFFIX}.1 \
jcf-dump${SUFFIX}.1 \
jv-scan${SUFFIX}.1 jv-convert${SUFFIX}.1 \
rmic${SUFFIX}.1 rmiregistry${SUFFIX}.1
MAN7= fsf-funding.7 gfdl.7 gpl.7
INFO= cpp cppinternals gcc gccinstall gccint gcj fastjar
.if defined(WITHOUT_LIBJAVA)
CONFIGURE_ARGS+= --disable-libgcj
PLIST_SUB+= LIBJAVA="@comment "
.else
EXTRA_LIBS+= libffi libgcj libgij
PLIST_SUB+= LIBJAVA=""
.endif
@ -152,14 +152,13 @@ post-install: fake-manpages
.endfor
# These libraries are moved from PREFIX/lib to avoid conflicts with
# the stock compiler.
.for f in libstdc++ libsupc++ libobjc libmudflap libmudflapth ${EXTRA_SHLIB}
.for f in libstdc++ libsupc++ libobjc libmudflap libmudflapth ${EXTRA_LIBS}
${MV} -f ${PREFIX}/lib/${f}.* ${TARGLIB}
.endfor
-${MV} -f ${PREFIX}/lib/libgcj.* ${TARGLIB}
${RM} -f ${PREFIX}/lib/libiberty.a
${RM} -f ${TARGLIB}/*.la
${RM} -f ${PREFIX}/lib/lib-org-*.la
# Handle target libraries, libexec binaries, and GCJ include files.
${RM} -f ${PREFIX}/lib/libiberty.a ${TARGLIB}/*.la
${RM} -f ${PREFIX}/man/man7/fsf-funding.7 \
${PREFIX}/man/man7/gfdl.7 ${PREFIX}/man/man7/gpl.7
# Add target libraries and include files to packaging list.
${RM} -f ${WRKDIR}/PLIST.lib
.for d in ${TARGLIB:S/^${PREFIX}\///} ${TARGLIB:S/lib/libexec/g:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax
cd ${PREFIX} ; if [ -d $d ]; then \
@ -168,15 +167,11 @@ post-install: fake-manpages
| ${SED} -e 's/^/@dirrm /g' >>${WRKDIR}/PLIST.lib ;\
fi
.endfor
(${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc/${CONFIGURE_TARGET} 2>&1 || true" ; ${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc 2>&1 || true") >> ${WRKDIR}/PLIST.lib
(${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc/${CONFIGURE_TARGET} 2>&1 || true" ; ${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc 2>&1 || true") >> ${WRKDIR}/PLIST.lib
${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script
${ECHO_CMD} "/Insert PLIST.lib" >> ${WRKDIR}/ex.script
${ECHO_CMD} "d" >> ${WRKDIR}/ex.script
${ECHO_CMD} "r ${WRKDIR}/PLIST.lib" >> ${WRKDIR}/ex.script
${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script
${CP} -p ${TMPPLIST} ${TMPPLIST}.pre
cd ${WRKDIR} ; ex < ex.script
${CAT} ${WRKDIR}/PLIST.lib >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc/${CONFIGURE_TARGET} 2>&1 || true" >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc 2>&1 || true" >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc/${CONFIGURE_TARGET} 2>&1 || true" >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc 2>&1 || true" >> ${TMPPLIST}
cklatest:
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/

View file

@ -1,12 +1,10 @@
MD5 (gcc-core-4.1-20050508.tar.bz2) = 18ae35fad10b30f8156b2f09efa9b2a5
SIZE (gcc-core-4.1-20050508.tar.bz2) = 13567663
MD5 (gcc-g++-4.1-20050508.tar.bz2) = 836be854fe21c91dfa71233e2a3e8748
SIZE (gcc-g++-4.1-20050508.tar.bz2) = 2661482
MD5 (gcc-java-4.1-20050508.tar.bz2) = 18a644f32878ba0d569e43fb7452afd8
SIZE (gcc-java-4.1-20050508.tar.bz2) = 6045354
MD5 (gcc-objc-4.1-20050508.tar.bz2) = 3ce414181728e91090d1ed88795b4299
SIZE (gcc-objc-4.1-20050508.tar.bz2) = 178875
MD5 (gcc-testsuite-4.1-20050508.tar.bz2) = 2b5beb9d5230d27cd7759367351bba9d
SIZE (gcc-testsuite-4.1-20050508.tar.bz2) = 3080624
MD5 (gcc-fortran-4.1-20050508.tar.bz2) = 01908f9710103501351e2c133391b6b4
SIZE (gcc-fortran-4.1-20050508.tar.bz2) = 578547
MD5 (gcc-core-4.1-20050515.tar.bz2) = 77409afc64edb58696e3c300e6f2060c
SIZE (gcc-core-4.1-20050515.tar.bz2) = 13663648
MD5 (gcc-g++-4.1-20050515.tar.bz2) = dcb62f071a259f16b24681da0c287335
SIZE (gcc-g++-4.1-20050515.tar.bz2) = 2662927
MD5 (gcc-java-4.1-20050515.tar.bz2) = 4aaad51eecd87ed4e9124058ceb69cba
SIZE (gcc-java-4.1-20050515.tar.bz2) = 6059003
MD5 (gcc-objc-4.1-20050515.tar.bz2) = bafaaa6ef5f9dcc510a912017961e97b
SIZE (gcc-objc-4.1-20050515.tar.bz2) = 178869
MD5 (gcc-testsuite-4.1-20050515.tar.bz2) = a99ebee17c508e2817da290c42cae778
SIZE (gcc-testsuite-4.1-20050515.tar.bz2) = 3085128

View file

@ -18,6 +18,7 @@ bin/gjnih41
bin/grepjar41
bin/jv-scan41
bin/jcf-dump41
include/mf-runtime.h
%%FORTRAN%%bin/gfortran41
%%FORTRAN%%lib/libgfortran.a
%%FORTRAN%%lib/libgfortranbegin.a
@ -30,18 +31,10 @@ bin/jcf-dump41
%%LIBJAVA%%bin/grmiregistry41
%%LIBJAVA%%bin/jv-convert41
%%LIBJAVA%%include/ffi.h
%%LIBJAVA%%lib/libffi.a
%%LIBJAVA%%lib/libffi.la
%%LIBJAVA%%lib/libgij.a
%%LIBJAVA%%lib/libgij.la
%%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%%libdata/pkgconfig/libgcj.pc
%%LIBJAVA%%share/java/libgcj-%%GCC_VER%%.jar
include/mf-runtime.h
%%LIBJAVA%%@dirrm lib/security
@comment Insert PLIST.lib here
@comment -=[ begin PLIST.lib ]=-
@comment -=[ end PLIST.lib ]=-

View file

@ -8,7 +8,7 @@
PORTNAME= gcc
PORTVERSION= 4.1.0
PORTREVISION= 20050508
PORTREVISION= 20050515
CATEGORIES= lang java
VERSIONSTRING= 4.1-${PORTREVISION}
MASTER_SITES= ${MASTER_SITE_GCC}
@ -30,7 +30,7 @@ COMMENT= GNU Compiler Collection 4.1
LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4
.endif
CONFLICTS= gcc-3.3.* gcc-4.0.*
CONFLICTS= gcc-3.3.* gcc-3.4.* gcc-4.0.*
LATEST_LINK?= gcc41${PKGNAMESUFFIX}
NOT_FOR_ARCHS= alpha
USE_BISON= yes
@ -75,7 +75,7 @@ MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
CONFIGURE_ARGS+= --enable-shared
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/lib ${TARGLIB}
EXTRA_SHLIB= libgcc_s
EXTRA_LIBS= libgcc_s
.else
CONFIGURE_ARGS+= --disable-shared
.endif
@ -98,13 +98,13 @@ MAN1= cpp${SUFFIX}.1 \
jcf-dump${SUFFIX}.1 \
jv-scan${SUFFIX}.1 jv-convert${SUFFIX}.1 \
rmic${SUFFIX}.1 rmiregistry${SUFFIX}.1
MAN7= fsf-funding.7 gfdl.7 gpl.7
INFO= cpp cppinternals gcc gccinstall gccint gcj fastjar
.if defined(WITHOUT_LIBJAVA)
CONFIGURE_ARGS+= --disable-libgcj
PLIST_SUB+= LIBJAVA="@comment "
.else
EXTRA_LIBS+= libffi libgcj libgij
PLIST_SUB+= LIBJAVA=""
.endif
@ -152,14 +152,13 @@ post-install: fake-manpages
.endfor
# These libraries are moved from PREFIX/lib to avoid conflicts with
# the stock compiler.
.for f in libstdc++ libsupc++ libobjc libmudflap libmudflapth ${EXTRA_SHLIB}
.for f in libstdc++ libsupc++ libobjc libmudflap libmudflapth ${EXTRA_LIBS}
${MV} -f ${PREFIX}/lib/${f}.* ${TARGLIB}
.endfor
-${MV} -f ${PREFIX}/lib/libgcj.* ${TARGLIB}
${RM} -f ${PREFIX}/lib/libiberty.a
${RM} -f ${TARGLIB}/*.la
${RM} -f ${PREFIX}/lib/lib-org-*.la
# Handle target libraries, libexec binaries, and GCJ include files.
${RM} -f ${PREFIX}/lib/libiberty.a ${TARGLIB}/*.la
${RM} -f ${PREFIX}/man/man7/fsf-funding.7 \
${PREFIX}/man/man7/gfdl.7 ${PREFIX}/man/man7/gpl.7
# Add target libraries and include files to packaging list.
${RM} -f ${WRKDIR}/PLIST.lib
.for d in ${TARGLIB:S/^${PREFIX}\///} ${TARGLIB:S/lib/libexec/g:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax
cd ${PREFIX} ; if [ -d $d ]; then \
@ -168,15 +167,11 @@ post-install: fake-manpages
| ${SED} -e 's/^/@dirrm /g' >>${WRKDIR}/PLIST.lib ;\
fi
.endfor
(${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc/${CONFIGURE_TARGET} 2>&1 || true" ; ${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc 2>&1 || true") >> ${WRKDIR}/PLIST.lib
(${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc/${CONFIGURE_TARGET} 2>&1 || true" ; ${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc 2>&1 || true") >> ${WRKDIR}/PLIST.lib
${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script
${ECHO_CMD} "/Insert PLIST.lib" >> ${WRKDIR}/ex.script
${ECHO_CMD} "d" >> ${WRKDIR}/ex.script
${ECHO_CMD} "r ${WRKDIR}/PLIST.lib" >> ${WRKDIR}/ex.script
${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script
${CP} -p ${TMPPLIST} ${TMPPLIST}.pre
cd ${WRKDIR} ; ex < ex.script
${CAT} ${WRKDIR}/PLIST.lib >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc/${CONFIGURE_TARGET} 2>&1 || true" >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc 2>&1 || true" >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc/${CONFIGURE_TARGET} 2>&1 || true" >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc 2>&1 || true" >> ${TMPPLIST}
cklatest:
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/

View file

@ -1,12 +1,10 @@
MD5 (gcc-core-4.1-20050508.tar.bz2) = 18ae35fad10b30f8156b2f09efa9b2a5
SIZE (gcc-core-4.1-20050508.tar.bz2) = 13567663
MD5 (gcc-g++-4.1-20050508.tar.bz2) = 836be854fe21c91dfa71233e2a3e8748
SIZE (gcc-g++-4.1-20050508.tar.bz2) = 2661482
MD5 (gcc-java-4.1-20050508.tar.bz2) = 18a644f32878ba0d569e43fb7452afd8
SIZE (gcc-java-4.1-20050508.tar.bz2) = 6045354
MD5 (gcc-objc-4.1-20050508.tar.bz2) = 3ce414181728e91090d1ed88795b4299
SIZE (gcc-objc-4.1-20050508.tar.bz2) = 178875
MD5 (gcc-testsuite-4.1-20050508.tar.bz2) = 2b5beb9d5230d27cd7759367351bba9d
SIZE (gcc-testsuite-4.1-20050508.tar.bz2) = 3080624
MD5 (gcc-fortran-4.1-20050508.tar.bz2) = 01908f9710103501351e2c133391b6b4
SIZE (gcc-fortran-4.1-20050508.tar.bz2) = 578547
MD5 (gcc-core-4.1-20050515.tar.bz2) = 77409afc64edb58696e3c300e6f2060c
SIZE (gcc-core-4.1-20050515.tar.bz2) = 13663648
MD5 (gcc-g++-4.1-20050515.tar.bz2) = dcb62f071a259f16b24681da0c287335
SIZE (gcc-g++-4.1-20050515.tar.bz2) = 2662927
MD5 (gcc-java-4.1-20050515.tar.bz2) = 4aaad51eecd87ed4e9124058ceb69cba
SIZE (gcc-java-4.1-20050515.tar.bz2) = 6059003
MD5 (gcc-objc-4.1-20050515.tar.bz2) = bafaaa6ef5f9dcc510a912017961e97b
SIZE (gcc-objc-4.1-20050515.tar.bz2) = 178869
MD5 (gcc-testsuite-4.1-20050515.tar.bz2) = a99ebee17c508e2817da290c42cae778
SIZE (gcc-testsuite-4.1-20050515.tar.bz2) = 3085128

View file

@ -18,6 +18,7 @@ bin/gjnih41
bin/grepjar41
bin/jv-scan41
bin/jcf-dump41
include/mf-runtime.h
%%FORTRAN%%bin/gfortran41
%%FORTRAN%%lib/libgfortran.a
%%FORTRAN%%lib/libgfortranbegin.a
@ -30,18 +31,10 @@ bin/jcf-dump41
%%LIBJAVA%%bin/grmiregistry41
%%LIBJAVA%%bin/jv-convert41
%%LIBJAVA%%include/ffi.h
%%LIBJAVA%%lib/libffi.a
%%LIBJAVA%%lib/libffi.la
%%LIBJAVA%%lib/libgij.a
%%LIBJAVA%%lib/libgij.la
%%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%%libdata/pkgconfig/libgcj.pc
%%LIBJAVA%%share/java/libgcj-%%GCC_VER%%.jar
include/mf-runtime.h
%%LIBJAVA%%@dirrm lib/security
@comment Insert PLIST.lib here
@comment -=[ begin PLIST.lib ]=-
@comment -=[ end PLIST.lib ]=-

View file

@ -8,7 +8,7 @@
PORTNAME= gcc
PORTVERSION= 4.1.0
PORTREVISION= 20050508
PORTREVISION= 20050515
CATEGORIES= lang java
VERSIONSTRING= 4.1-${PORTREVISION}
MASTER_SITES= ${MASTER_SITE_GCC}
@ -30,7 +30,7 @@ COMMENT= GNU Compiler Collection 4.1
LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4
.endif
CONFLICTS= gcc-3.3.* gcc-4.0.*
CONFLICTS= gcc-3.3.* gcc-3.4.* gcc-4.0.*
LATEST_LINK?= gcc41${PKGNAMESUFFIX}
NOT_FOR_ARCHS= alpha
USE_BISON= yes
@ -75,7 +75,7 @@ MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
CONFIGURE_ARGS+= --enable-shared
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/lib ${TARGLIB}
EXTRA_SHLIB= libgcc_s
EXTRA_LIBS= libgcc_s
.else
CONFIGURE_ARGS+= --disable-shared
.endif
@ -98,13 +98,13 @@ MAN1= cpp${SUFFIX}.1 \
jcf-dump${SUFFIX}.1 \
jv-scan${SUFFIX}.1 jv-convert${SUFFIX}.1 \
rmic${SUFFIX}.1 rmiregistry${SUFFIX}.1
MAN7= fsf-funding.7 gfdl.7 gpl.7
INFO= cpp cppinternals gcc gccinstall gccint gcj fastjar
.if defined(WITHOUT_LIBJAVA)
CONFIGURE_ARGS+= --disable-libgcj
PLIST_SUB+= LIBJAVA="@comment "
.else
EXTRA_LIBS+= libffi libgcj libgij
PLIST_SUB+= LIBJAVA=""
.endif
@ -152,14 +152,13 @@ post-install: fake-manpages
.endfor
# These libraries are moved from PREFIX/lib to avoid conflicts with
# the stock compiler.
.for f in libstdc++ libsupc++ libobjc libmudflap libmudflapth ${EXTRA_SHLIB}
.for f in libstdc++ libsupc++ libobjc libmudflap libmudflapth ${EXTRA_LIBS}
${MV} -f ${PREFIX}/lib/${f}.* ${TARGLIB}
.endfor
-${MV} -f ${PREFIX}/lib/libgcj.* ${TARGLIB}
${RM} -f ${PREFIX}/lib/libiberty.a
${RM} -f ${TARGLIB}/*.la
${RM} -f ${PREFIX}/lib/lib-org-*.la
# Handle target libraries, libexec binaries, and GCJ include files.
${RM} -f ${PREFIX}/lib/libiberty.a ${TARGLIB}/*.la
${RM} -f ${PREFIX}/man/man7/fsf-funding.7 \
${PREFIX}/man/man7/gfdl.7 ${PREFIX}/man/man7/gpl.7
# Add target libraries and include files to packaging list.
${RM} -f ${WRKDIR}/PLIST.lib
.for d in ${TARGLIB:S/^${PREFIX}\///} ${TARGLIB:S/lib/libexec/g:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax
cd ${PREFIX} ; if [ -d $d ]; then \
@ -168,15 +167,11 @@ post-install: fake-manpages
| ${SED} -e 's/^/@dirrm /g' >>${WRKDIR}/PLIST.lib ;\
fi
.endfor
(${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc/${CONFIGURE_TARGET} 2>&1 || true" ; ${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc 2>&1 || true") >> ${WRKDIR}/PLIST.lib
(${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc/${CONFIGURE_TARGET} 2>&1 || true" ; ${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc 2>&1 || true") >> ${WRKDIR}/PLIST.lib
${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script
${ECHO_CMD} "/Insert PLIST.lib" >> ${WRKDIR}/ex.script
${ECHO_CMD} "d" >> ${WRKDIR}/ex.script
${ECHO_CMD} "r ${WRKDIR}/PLIST.lib" >> ${WRKDIR}/ex.script
${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script
${CP} -p ${TMPPLIST} ${TMPPLIST}.pre
cd ${WRKDIR} ; ex < ex.script
${CAT} ${WRKDIR}/PLIST.lib >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc/${CONFIGURE_TARGET} 2>&1 || true" >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc 2>&1 || true" >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc/${CONFIGURE_TARGET} 2>&1 || true" >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc 2>&1 || true" >> ${TMPPLIST}
cklatest:
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/

View file

@ -1,12 +1,10 @@
MD5 (gcc-core-4.1-20050508.tar.bz2) = 18ae35fad10b30f8156b2f09efa9b2a5
SIZE (gcc-core-4.1-20050508.tar.bz2) = 13567663
MD5 (gcc-g++-4.1-20050508.tar.bz2) = 836be854fe21c91dfa71233e2a3e8748
SIZE (gcc-g++-4.1-20050508.tar.bz2) = 2661482
MD5 (gcc-java-4.1-20050508.tar.bz2) = 18a644f32878ba0d569e43fb7452afd8
SIZE (gcc-java-4.1-20050508.tar.bz2) = 6045354
MD5 (gcc-objc-4.1-20050508.tar.bz2) = 3ce414181728e91090d1ed88795b4299
SIZE (gcc-objc-4.1-20050508.tar.bz2) = 178875
MD5 (gcc-testsuite-4.1-20050508.tar.bz2) = 2b5beb9d5230d27cd7759367351bba9d
SIZE (gcc-testsuite-4.1-20050508.tar.bz2) = 3080624
MD5 (gcc-fortran-4.1-20050508.tar.bz2) = 01908f9710103501351e2c133391b6b4
SIZE (gcc-fortran-4.1-20050508.tar.bz2) = 578547
MD5 (gcc-core-4.1-20050515.tar.bz2) = 77409afc64edb58696e3c300e6f2060c
SIZE (gcc-core-4.1-20050515.tar.bz2) = 13663648
MD5 (gcc-g++-4.1-20050515.tar.bz2) = dcb62f071a259f16b24681da0c287335
SIZE (gcc-g++-4.1-20050515.tar.bz2) = 2662927
MD5 (gcc-java-4.1-20050515.tar.bz2) = 4aaad51eecd87ed4e9124058ceb69cba
SIZE (gcc-java-4.1-20050515.tar.bz2) = 6059003
MD5 (gcc-objc-4.1-20050515.tar.bz2) = bafaaa6ef5f9dcc510a912017961e97b
SIZE (gcc-objc-4.1-20050515.tar.bz2) = 178869
MD5 (gcc-testsuite-4.1-20050515.tar.bz2) = a99ebee17c508e2817da290c42cae778
SIZE (gcc-testsuite-4.1-20050515.tar.bz2) = 3085128

View file

@ -18,6 +18,7 @@ bin/gjnih41
bin/grepjar41
bin/jv-scan41
bin/jcf-dump41
include/mf-runtime.h
%%FORTRAN%%bin/gfortran41
%%FORTRAN%%lib/libgfortran.a
%%FORTRAN%%lib/libgfortranbegin.a
@ -30,18 +31,10 @@ bin/jcf-dump41
%%LIBJAVA%%bin/grmiregistry41
%%LIBJAVA%%bin/jv-convert41
%%LIBJAVA%%include/ffi.h
%%LIBJAVA%%lib/libffi.a
%%LIBJAVA%%lib/libffi.la
%%LIBJAVA%%lib/libgij.a
%%LIBJAVA%%lib/libgij.la
%%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%%libdata/pkgconfig/libgcj.pc
%%LIBJAVA%%share/java/libgcj-%%GCC_VER%%.jar
include/mf-runtime.h
%%LIBJAVA%%@dirrm lib/security
@comment Insert PLIST.lib here
@comment -=[ begin PLIST.lib ]=-
@comment -=[ end PLIST.lib ]=-

View file

@ -8,7 +8,7 @@
PORTNAME= gcc
PORTVERSION= 4.1.0
PORTREVISION= 20050508
PORTREVISION= 20050515
CATEGORIES= lang java
VERSIONSTRING= 4.1-${PORTREVISION}
MASTER_SITES= ${MASTER_SITE_GCC}
@ -30,7 +30,7 @@ COMMENT= GNU Compiler Collection 4.1
LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4
.endif
CONFLICTS= gcc-3.3.* gcc-4.0.*
CONFLICTS= gcc-3.3.* gcc-3.4.* gcc-4.0.*
LATEST_LINK?= gcc41${PKGNAMESUFFIX}
NOT_FOR_ARCHS= alpha
USE_BISON= yes
@ -75,7 +75,7 @@ MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
CONFIGURE_ARGS+= --enable-shared
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/lib ${TARGLIB}
EXTRA_SHLIB= libgcc_s
EXTRA_LIBS= libgcc_s
.else
CONFIGURE_ARGS+= --disable-shared
.endif
@ -98,13 +98,13 @@ MAN1= cpp${SUFFIX}.1 \
jcf-dump${SUFFIX}.1 \
jv-scan${SUFFIX}.1 jv-convert${SUFFIX}.1 \
rmic${SUFFIX}.1 rmiregistry${SUFFIX}.1
MAN7= fsf-funding.7 gfdl.7 gpl.7
INFO= cpp cppinternals gcc gccinstall gccint gcj fastjar
.if defined(WITHOUT_LIBJAVA)
CONFIGURE_ARGS+= --disable-libgcj
PLIST_SUB+= LIBJAVA="@comment "
.else
EXTRA_LIBS+= libffi libgcj libgij
PLIST_SUB+= LIBJAVA=""
.endif
@ -152,14 +152,13 @@ post-install: fake-manpages
.endfor
# These libraries are moved from PREFIX/lib to avoid conflicts with
# the stock compiler.
.for f in libstdc++ libsupc++ libobjc libmudflap libmudflapth ${EXTRA_SHLIB}
.for f in libstdc++ libsupc++ libobjc libmudflap libmudflapth ${EXTRA_LIBS}
${MV} -f ${PREFIX}/lib/${f}.* ${TARGLIB}
.endfor
-${MV} -f ${PREFIX}/lib/libgcj.* ${TARGLIB}
${RM} -f ${PREFIX}/lib/libiberty.a
${RM} -f ${TARGLIB}/*.la
${RM} -f ${PREFIX}/lib/lib-org-*.la
# Handle target libraries, libexec binaries, and GCJ include files.
${RM} -f ${PREFIX}/lib/libiberty.a ${TARGLIB}/*.la
${RM} -f ${PREFIX}/man/man7/fsf-funding.7 \
${PREFIX}/man/man7/gfdl.7 ${PREFIX}/man/man7/gpl.7
# Add target libraries and include files to packaging list.
${RM} -f ${WRKDIR}/PLIST.lib
.for d in ${TARGLIB:S/^${PREFIX}\///} ${TARGLIB:S/lib/libexec/g:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax
cd ${PREFIX} ; if [ -d $d ]; then \
@ -168,15 +167,11 @@ post-install: fake-manpages
| ${SED} -e 's/^/@dirrm /g' >>${WRKDIR}/PLIST.lib ;\
fi
.endfor
(${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc/${CONFIGURE_TARGET} 2>&1 || true" ; ${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc 2>&1 || true") >> ${WRKDIR}/PLIST.lib
(${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc/${CONFIGURE_TARGET} 2>&1 || true" ; ${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc 2>&1 || true") >> ${WRKDIR}/PLIST.lib
${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script
${ECHO_CMD} "/Insert PLIST.lib" >> ${WRKDIR}/ex.script
${ECHO_CMD} "d" >> ${WRKDIR}/ex.script
${ECHO_CMD} "r ${WRKDIR}/PLIST.lib" >> ${WRKDIR}/ex.script
${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script
${CP} -p ${TMPPLIST} ${TMPPLIST}.pre
cd ${WRKDIR} ; ex < ex.script
${CAT} ${WRKDIR}/PLIST.lib >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc/${CONFIGURE_TARGET} 2>&1 || true" >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc 2>&1 || true" >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc/${CONFIGURE_TARGET} 2>&1 || true" >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc 2>&1 || true" >> ${TMPPLIST}
cklatest:
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/

View file

@ -1,12 +1,10 @@
MD5 (gcc-core-4.1-20050508.tar.bz2) = 18ae35fad10b30f8156b2f09efa9b2a5
SIZE (gcc-core-4.1-20050508.tar.bz2) = 13567663
MD5 (gcc-g++-4.1-20050508.tar.bz2) = 836be854fe21c91dfa71233e2a3e8748
SIZE (gcc-g++-4.1-20050508.tar.bz2) = 2661482
MD5 (gcc-java-4.1-20050508.tar.bz2) = 18a644f32878ba0d569e43fb7452afd8
SIZE (gcc-java-4.1-20050508.tar.bz2) = 6045354
MD5 (gcc-objc-4.1-20050508.tar.bz2) = 3ce414181728e91090d1ed88795b4299
SIZE (gcc-objc-4.1-20050508.tar.bz2) = 178875
MD5 (gcc-testsuite-4.1-20050508.tar.bz2) = 2b5beb9d5230d27cd7759367351bba9d
SIZE (gcc-testsuite-4.1-20050508.tar.bz2) = 3080624
MD5 (gcc-fortran-4.1-20050508.tar.bz2) = 01908f9710103501351e2c133391b6b4
SIZE (gcc-fortran-4.1-20050508.tar.bz2) = 578547
MD5 (gcc-core-4.1-20050515.tar.bz2) = 77409afc64edb58696e3c300e6f2060c
SIZE (gcc-core-4.1-20050515.tar.bz2) = 13663648
MD5 (gcc-g++-4.1-20050515.tar.bz2) = dcb62f071a259f16b24681da0c287335
SIZE (gcc-g++-4.1-20050515.tar.bz2) = 2662927
MD5 (gcc-java-4.1-20050515.tar.bz2) = 4aaad51eecd87ed4e9124058ceb69cba
SIZE (gcc-java-4.1-20050515.tar.bz2) = 6059003
MD5 (gcc-objc-4.1-20050515.tar.bz2) = bafaaa6ef5f9dcc510a912017961e97b
SIZE (gcc-objc-4.1-20050515.tar.bz2) = 178869
MD5 (gcc-testsuite-4.1-20050515.tar.bz2) = a99ebee17c508e2817da290c42cae778
SIZE (gcc-testsuite-4.1-20050515.tar.bz2) = 3085128

View file

@ -18,6 +18,7 @@ bin/gjnih41
bin/grepjar41
bin/jv-scan41
bin/jcf-dump41
include/mf-runtime.h
%%FORTRAN%%bin/gfortran41
%%FORTRAN%%lib/libgfortran.a
%%FORTRAN%%lib/libgfortranbegin.a
@ -30,18 +31,10 @@ bin/jcf-dump41
%%LIBJAVA%%bin/grmiregistry41
%%LIBJAVA%%bin/jv-convert41
%%LIBJAVA%%include/ffi.h
%%LIBJAVA%%lib/libffi.a
%%LIBJAVA%%lib/libffi.la
%%LIBJAVA%%lib/libgij.a
%%LIBJAVA%%lib/libgij.la
%%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%%libdata/pkgconfig/libgcj.pc
%%LIBJAVA%%share/java/libgcj-%%GCC_VER%%.jar
include/mf-runtime.h
%%LIBJAVA%%@dirrm lib/security
@comment Insert PLIST.lib here
@comment -=[ begin PLIST.lib ]=-
@comment -=[ end PLIST.lib ]=-