summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1999-08-18 23:58:55 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1999-08-18 23:58:55 +0000
commit427dd253400e303111e8483679054cd79cbeec17 (patch)
tree1a981ee9cffa940700030e8f4c79f50608483353
parentDon't assign __FreeBSD__ a value here. (pulled too much in from (diff)
Use a better sed(1) pattern in case I break __FreeBSD__ again.
Notes
Notes: svn path=/head/; revision=20800
-rw-r--r--lang/egcs/Makefile4
-rw-r--r--lang/gcc295/Makefile4
2 files changed, 4 insertions, 4 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"
diff --git a/lang/gcc295/Makefile b/lang/gcc295/Makefile
index 52e81b39101d..58f990b5e79c 100644
--- a/lang/gcc295/Makefile
+++ b/lang/gcc295/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"