diff options
author | obrien <obrien@FreeBSD.org> | 2000-10-11 07:32:34 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-10-11 07:32:34 +0800 |
commit | 814fd6d8551812ef45cb492ceed3c801be4c3cb3 (patch) | |
tree | e9b269c7b408fbc1a58db616faaed60f089ec989 /lang/gcc40/Makefile | |
parent | 6f8c5a416931db19c672ae1db0351e9933096c04 (diff) | |
download | freebsd-ports-gnome-814fd6d8551812ef45cb492ceed3c801be4c3cb3.tar.gz freebsd-ports-gnome-814fd6d8551812ef45cb492ceed3c801be4c3cb3.tar.zst freebsd-ports-gnome-814fd6d8551812ef45cb492ceed3c801be4c3cb3.zip |
Upgrade to the 2000-10-02 GCC 2.97 development snapshot.
Diffstat (limited to 'lang/gcc40/Makefile')
-rw-r--r-- | lang/gcc40/Makefile | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/lang/gcc40/Makefile b/lang/gcc40/Makefile index 765d810dcb04..2e1cc84f07be 100644 --- a/lang/gcc40/Makefile +++ b/lang/gcc40/Makefile @@ -6,7 +6,7 @@ # $FreeBSD$ # -SNAPDATE= 2000-08-28 +SNAPDATE= 2000-10-02 SNAPVER= ${SNAPDATE:S/-//g} PORTNAME= gcc-devel @@ -28,9 +28,15 @@ MAINTAINER= obrien@FreeBSD.org NO_CDROM= 'dated material' -EGCS_REV= 2.96 -LIBSTDCPP_REV= 2.10.0 -WRKSRC= ${WRKDIR}/egcs-${SNAPVER} +EGCS_REV= 2.97 +LIBSTDCPP_REV= 4 +SRCDIR= ${WRKDIR}/egcs-${SNAPVER} +WRKSRC= ${WRKDIR}/build +PATCH_ARGS= -d ${SRCDIR} -E ${PATCH_STRIP} +.if !defined(PATCH_DEBUG) +PATCH_ARGS+= --forward --quiet +.endif +CONFIGURE_SCRIPT= ../egcs-${SNAPVER}/configure .include <bsd.port.pre.mk> @@ -58,22 +64,19 @@ CONFIGURE_ARGS+= --enable-threads=posix ALL_TARGET= bootstrap MAN1= ecpp.1 eg++.1 eg77.1 egcc.1 -pre-patch: - @${MV} ${WRKSRC}/gcc/config/i386/freebsd.h ${WRKSRC}/gcc/config/i386/freebsd-aout.h - @${MV} ${WRKSRC}/gcc/config/i386/freebsd-elf.h ${WRKSRC}/gcc/config/i386/freebsd.h - pre-configure: @(MAJ=`sysctl -n kern.osreldate | ${SED} -e '/.....$$/s///'` ; \ ${PERL} -pi.orig -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" \ - ${WRKSRC}/gcc/config/freebsd.h ) - @${CP} ${FILESDIR}/alpha-freebsd.h ${WRKSRC}/gcc/config/alpha/freebsd.h + ${SRCDIR}/gcc/config/freebsd.h ) + @${CP} ${FILESDIR}/alpha-freebsd.h ${SRCDIR}/gcc/config/alpha/freebsd.h @# Keep from running `autoconf' and `autoheader' since we modified @# configure.in by patching it. - @touch ${WRKSRC}/gcc/configure - @touch ${WRKSRC}/gcc/cstamp-h.in + @touch ${SRCDIR}/gcc/configure + @touch ${SRCDIR}/gcc/cstamp-h.in + @${MKDIR} ${CONFIGURE_WRKSRC} pre-build: - cd ${WRKSRC} ; contrib/gcc_update --touch + cd ${SRCDIR} ; contrib/gcc_update --touch pre-install: ${MKDIR} ${PREFIX}/info @@ -108,6 +111,8 @@ post-install: ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV} cd ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV} ; \ ${LN} -sf libstdc++.a.${LIBSTDCPP_REV} libstdc++.a + ${MV} -f ${PREFIX}/lib/libzgcj.* \ + ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV} ${MV} ${PREFIX}/man/man1/gcc.1 ${PREFIX}/man/man1/egcc.1 ${MV} ${PREFIX}/man/man1/g++.1 ${PREFIX}/man/man1/eg++.1 ${MV} ${PREFIX}/man/man1/g77.1 ${PREFIX}/man/man1/eg77.1 |