From 465269dbff05b69659d83df450fe89e654ad6adc Mon Sep 17 00:00:00 2001 From: deraadt Date: Thu, 18 Apr 1996 11:51:15 +0000 Subject: [PATCH] from niklas; un-install gcc limits.h because it conflicts with the system one --- gnu/usr.bin/gcc/Makefile.bsd-wrapper | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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: -- 2.20.1