summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-04-18 11:51:16 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-04-18 11:51:16 +0000
commit69b06619196a47492805e1e41360b6669668d0d0 (patch)
tree3fd5d865215653e7af9b68f864a86aa30182ef77 /gnu/usr.bin
parenteb4d14c2c342b69c36f9a1f1250091ce5ca501b3 (diff)
from niklas; un-install gcc limits.h because it conflicts with the system one
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/gcc/Makefile.bsd-wrapper7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/usr.bin/gcc/Makefile.bsd-wrapper b/gnu/usr.bin/gcc/Makefile.bsd-wrapper
index ce7ae42a73e..0eb47318d18 100644
--- a/gnu/usr.bin/gcc/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/gcc/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $Id: Makefile.bsd-wrapper,v 1.9 1996/02/18 06:22:17 etheisen Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.10 1996/04/18 11:51:15 deraadt Exp $
MAN= cccp.1 gcc.1 cp/g++.1
MLINKS+= gcc.1 cc.1
@@ -25,11 +25,16 @@ config.status:
/bin/sh ${.CURDIR}/configure --with-gnu-as --with-gnu-ld \
--prefix=/usr --gxx-include=${GPP_INC_DIR}
+# For now, we provide a prepped machine/limits.h through other means
+# and mustn't have GCC's variant as well, no matter how correct it is.
+# At some point we could make the port-provided limits.h file be
+# replaced by GCC's instead, as it really is a compiler-dependent file.
install: maninstall
${MAKE} ${GNUCFLAGS} prefix=${DESTDIR}/usr \
infodir=${DESTDIR}/usr/share/info \
tooldir=/tmp assertdir=/tmp INSTALL_MAN= NO_TARGET_GCC=true \
bindir=${DESTDIR}/usr/bin install
+ rm -f ${DESTDIR}/usr/lib/gcc-lib/`sh ${.CURDIR}/config.guess`/`sed 's/^[^"]*"\([^"]*\).*/\1/' ${.CURDIR}/version.c`/include/limits.h
ln -f ${DESTDIR}/usr/bin/gcc ${DESTDIR}/usr/bin/cc
clean cleandir: