aboutsummaryrefslogtreecommitdiffstats
path: root/lang/egcs/Makefile
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-08-19 07:58:55 +0800
committerobrien <obrien@FreeBSD.org>1999-08-19 07:58:55 +0800
commit74c28ac3c4d90651df583eac2c41868badd3d47d (patch)
treee55f49aaa19ea64c41d5613dba33d873584f74bd /lang/egcs/Makefile
parent58cb583cc188755ee9eff326449fdcac0cbd6f7d (diff)
downloadfreebsd-ports-gnome-74c28ac3c4d90651df583eac2c41868badd3d47d.tar.gz
freebsd-ports-gnome-74c28ac3c4d90651df583eac2c41868badd3d47d.tar.zst
freebsd-ports-gnome-74c28ac3c4d90651df583eac2c41868badd3d47d.zip
Use a better sed(1) pattern in case I break __FreeBSD__ again.
Diffstat (limited to 'lang/egcs/Makefile')
-rw-r--r--lang/egcs/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/egcs/Makefile b/lang/egcs/Makefile
index 52e81b39101d..58f990b5e79c 100644
--- a/lang/egcs/Makefile
+++ b/lang/egcs/Makefile
@@ -4,7 +4,7 @@
# Date created: 9 Jan 1998
# Whom: John Polstra <jdp@polstra.com>
#
-# $Id: Makefile,v 1.60 1999/08/16 00:21:03 obrien Exp $
+# $Id: Makefile,v 1.61 1999/08/18 19:03:09 obrien Exp $
#
DISTNAME= gcc-2.95
@@ -62,7 +62,7 @@ pre-patch:
pre-configure:
@(MAJ=`sysctl -n kern.osreldate | ${SED} -e '/.....$$/s///'` ; \
- ${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" ${FILESDIR}/freebsd.h \
+ ${SED} -e "s:__FreeBSD__[0-9=]*:__FreeBSD__=$${MAJ}:" ${FILESDIR}/freebsd.h \
>${WRKSRC}/gcc/config/freebsd.h )
@${CP} ${FILESDIR}/alpha-freebsd.h ${WRKSRC}/gcc/config/alpha/freebsd.h
.if ${PORTOBJFORMAT} == "elf" && ${MACHINE_ARCH} == "i386"