diff options
author | gerald <gerald@FreeBSD.org> | 2005-12-29 06:29:09 +0800 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2005-12-29 06:29:09 +0800 |
commit | 877afdaa1bc2fdd0b48dac06efa0e3d9e16e1b68 (patch) | |
tree | 1cee1a95328d6e76bc5f2c745f1fedb5d52b7743 /lang/gcc41/Makefile | |
parent | 88e0cc190e61150ba3bb73789b3c700101610128 (diff) | |
download | freebsd-ports-gnome-877afdaa1bc2fdd0b48dac06efa0e3d9e16e1b68.tar.gz freebsd-ports-gnome-877afdaa1bc2fdd0b48dac06efa0e3d9e16e1b68.tar.zst freebsd-ports-gnome-877afdaa1bc2fdd0b48dac06efa0e3d9e16e1b68.zip |
Update to the 20051223 snapshot of GCC 4.1.0.
Install the .info files of the lang/gcc41 port in a port-specific
subdirectory, and move include/mf-runtime.h into a version specific
directory. This allows us to remove the conflict with lang/gcc33,
and reduce the clash with lang/gcc42.
Also improve packaging by using @dirrm include/ssp instead of speculative
removal.
Diffstat (limited to 'lang/gcc41/Makefile')
-rw-r--r-- | lang/gcc41/Makefile | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/lang/gcc41/Makefile b/lang/gcc41/Makefile index de37792c1642..711eafe67849 100644 --- a/lang/gcc41/Makefile +++ b/lang/gcc41/Makefile @@ -8,7 +8,7 @@ PORTNAME= gcc PORTVERSION= 4.1.0 -PORTREVISION= 20051216 +PORTREVISION= 20051223 CATEGORIES= lang java VERSIONSTRING= 4.1-${PORTREVISION} MASTER_SITES= ${MASTER_SITE_GCC} @@ -26,7 +26,7 @@ LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4 BUILD_DEPENDS= ${LOCALBASE}/lib/libmpfr.a:${PORTSDIR}/math/mpfr .endif -CONFLICTS= gcc-3.3.* gcc-4.2.* +CONFLICTS= gcc-4.2.* LATEST_LINK?= gcc41${PKGNAMESUFFIX} NOT_FOR_ARCHS= alpha USE_BISON= yes @@ -69,7 +69,8 @@ CONFIGURE_ARGS+= --disable-nls \ --with-libiconv-prefix=${LOCALBASE} \ --program-suffix=${SUFFIX} \ --libdir=${TARGLIB} \ - --with-gxx-include-dir=${TARGLIB}/include/c++/ + --with-gxx-include-dir=${TARGLIB}/include/c++/ \ + --infodir=${PREFIX}/${INFO_PATH}/gcc${SUFFIX} CONFIGURE_ENV= RANLIB=: .if defined(WITH_JAVA_AWT) CONFIGURE_ARGS+= --enable-java-awt=xlib,gtk #--enable-gtk-cairo=yes @@ -90,13 +91,17 @@ MAN1= cpp${SUFFIX}.1 \ g++${SUFFIX}.1 \ gcc${SUFFIX}.1 \ gcov${SUFFIX}.1 -INFO= cpp cppinternals gcc gccinstall gccint +INFO= gcc${SUFFIX}/cpp \ + gcc${SUFFIX}/cppinternals \ + gcc${SUFFIX}/gcc \ + gcc${SUFFIX}/gccinstall \ + gcc${SUFFIX}/gccint .if defined(WITH_FORTRAN) DISTFILES+= gcc-fortran-${VERSIONSTRING}${EXTRACT_SUFX} CONFIGURE_ARGS+=--with-gmp=${LOCALBASE} MAN1+= gfortran${SUFFIX}.1 -INFO+= gfortran +INFO+= gcc${SUFFIX}/gfortran PLIST_SUB+= FORTRAN="" .else PLIST_SUB+= FORTRAN="@comment " @@ -121,7 +126,7 @@ MAN1+= fastjar${SUFFIX}.1 \ jcf-dump${SUFFIX}.1 \ jv-scan${SUFFIX}.1 jv-convert${SUFFIX}.1 \ rmic${SUFFIX}.1 rmiregistry${SUFFIX}.1 -INFO+= gcj fastjar +INFO+= gcc${SUFFIX}/gcj gcc${SUFFIX}/fastjar PLIST_SUB+= JAVA="" .else CONFIGURE_ARGS+=--disable-libgcj @@ -166,6 +171,8 @@ post-install: ${PREFIX}/man/man1/${f}${SUFFIX}.1; \ fi .endfor + ${MV} -f ${PREFIX}/include/mf-runtime.h \ + ${TARGLIB}/gcc/${CONFIGURE_TARGET}/${PORTVERSION}/include ${RM} -f ${TARGLIB}/*.la ${RM} -f ${PREFIX}/man/man7/fsf-funding.7 \ ${PREFIX}/man/man7/gfdl.7 ${PREFIX}/man/man7/gpl.7 |