aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc47/Makefile
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-01-17 20:27:59 +0800
committerobrien <obrien@FreeBSD.org>2000-01-17 20:27:59 +0800
commit48e2dab45cf2b8c920be21bbabfddf4bf0a33ebc (patch)
treeb7897ee2c2d001922ddb7f9d0b2367d746c256bf /lang/gcc47/Makefile
parent672345a9efcdf5740f4159458ff2c6a109173286 (diff)
downloadfreebsd-ports-gnome-48e2dab45cf2b8c920be21bbabfddf4bf0a33ebc.tar.gz
freebsd-ports-gnome-48e2dab45cf2b8c920be21bbabfddf4bf0a33ebc.tar.zst
freebsd-ports-gnome-48e2dab45cf2b8c920be21bbabfddf4bf0a33ebc.zip
Upgrade to the 2000-01-10 GCC 2.96 development snapshot.
Diffstat (limited to 'lang/gcc47/Makefile')
-rw-r--r--lang/gcc47/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/lang/gcc47/Makefile b/lang/gcc47/Makefile
index efee67e57ea1..7e19127dbee8 100644
--- a/lang/gcc47/Makefile
+++ b/lang/gcc47/Makefile
@@ -7,7 +7,7 @@
# $FreeBSD$
#
-SNAPDATE= 1999-11-10
+SNAPDATE= 2000-01-10
SNAPVER= ${SNAPDATE:S/-//g}
DISTNAME= gcc-2.96
@@ -62,12 +62,11 @@ MAN1= cccp.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
- @${CP} ${WRKSRC}/gcc/config/t-openbsd-thread ${WRKSRC}/gcc/config/t-freebsd-thread
pre-configure:
@(MAJ=`sysctl -n kern.osreldate | ${SED} -e '/.....$$/s///'` ; \
- ${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" ${FILESDIR}/freebsd.h \
- >${WRKSRC}/gcc/config/freebsd.h )
+ ${PERL} -pi.orig -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" \
+ ${WRKSRC}/gcc/config/freebsd.h )
@${CP} ${FILESDIR}/alpha-freebsd.h ${WRKSRC}/gcc/config/alpha/freebsd.h
.if ${PORTOBJFORMAT} == "elf" && ${MACHINE_ARCH} == "i386"
@${SED} -e 's/^@comment ELF-only://' ${PKGDIR}/PLIST >${PLIST}