diff options
author | obrien <obrien@FreeBSD.org> | 1999-08-19 07:58:55 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1999-08-19 07:58:55 +0800 |
commit | 74c28ac3c4d90651df583eac2c41868badd3d47d (patch) | |
tree | e55f49aaa19ea64c41d5613dba33d873584f74bd /lang/egcs | |
parent | 58cb583cc188755ee9eff326449fdcac0cbd6f7d (diff) | |
download | freebsd-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')
-rw-r--r-- | lang/egcs/Makefile | 4 |
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" |