From bf5631248bc6fe06c3ba056ed8c5558c68b9cd7a Mon Sep 17 00:00:00 2001 From: kristerw Date: Tue, 6 Aug 2002 23:44:36 +0000 Subject: Make sure that the compiler finds the non-standard includefiles normally found on NetBSD (i.e. FlexLexer.h) This corrects the issue in the remark to my closing of pkg/17638. --- lang/gcc/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lang') diff --git a/lang/gcc/Makefile b/lang/gcc/Makefile index ae970cac20f..4586ed5c54d 100644 --- a/lang/gcc/Makefile +++ b/lang/gcc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.42 2002/05/14 14:01:33 yyamano Exp $ +# $NetBSD: Makefile,v 1.43 2002/08/06 23:44:36 kristerw Exp $ # Make sure that the version number in "Makefile.gcc" matches this. DISTNAME= gcc-2.95.3 @@ -77,6 +77,10 @@ pre-install: .if (${OPSYS} != SunOS) post-install: +. if exists(/usr/include/g++/FlexLexer.h) + ${LN} -s /usr/include/g++/FlexLexer.h \ + ${PREFIX}/${PKGNAME}/include/g++-3/FlexLexer.h +. endif ${RM} -f ${GCC_PREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include/curses.h ${PREFIX}/${PKGNAME}/bin/cc ${LN} -s gcc ${PREFIX}/${PKGNAME}/bin/cc ${INSTALL_DATA} ${WRKDIR}/gcc.mk ${PREFIX}/etc/${PKGNAME}.mk -- cgit v1.2.3