summaryrefslogtreecommitdiff
path: root/lang/gcc34/Makefile
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-10-10 23:32:34 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-10-10 23:32:34 +0000
commit1c8d799fc53ba855d2bb15855dc3f75eab8fbeac (patch)
treeaf668a3be111fd2cd7973951dddeeb9f162332c6 /lang/gcc34/Makefile
parentForgot to add pkg-message. My 1st cvs add. :) (diff)
Upgrade to the 2000-10-02 GCC 2.97 development snapshot.
Notes
Notes: svn path=/head/; revision=33689
Diffstat (limited to 'lang/gcc34/Makefile')
-rw-r--r--lang/gcc34/Makefile31
1 files changed, 18 insertions, 13 deletions
diff --git a/lang/gcc34/Makefile b/lang/gcc34/Makefile
index 765d810dcb04..2e1cc84f07be 100644
--- a/lang/gcc34/Makefile
+++ b/lang/gcc34/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