From 3ecef7be864a431646d9fb803633aa906b9e6d16 Mon Sep 17 00:00:00 2001 From: dmcmahill Date: Sun, 29 Apr 2001 16:15:15 +0000 Subject: use the boehm-gc package instead of the one included with sdcc. this fixes sdcc on alpha, and probably sparc and others. also include a slew of missing headers. --- devel/sdcc/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'devel/sdcc/Makefile') diff --git a/devel/sdcc/Makefile b/devel/sdcc/Makefile index 5ad0c43f81a..ff559eb0917 100644 --- a/devel/sdcc/Makefile +++ b/devel/sdcc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2001/04/23 17:35:41 wulf Exp $ +# $NetBSD: Makefile,v 1.6 2001/04/29 16:15:15 dmcmahill Exp $ # FreeBSD: ports/devel/sdcc/Makefile,v 1.5 2000/04/15 15:13:38 knu Exp DISTNAME= sdcc-2.2.1-src @@ -19,6 +19,9 @@ WRKSRC= ${WRKDIR}/${PKGNAME} # Use of bison fixes this problem for now. # BUILD_DEPENDS+= bison-*:../../devel/bison +# we link to the static boehm-gc library so we only +# need this at compile time +BUILD_DEPENDS+= boehm-gc-*:../../devel/boehm-gc YACC= bison GNU_CONFIGURE= yes @@ -34,6 +37,7 @@ CONFIGURE_ENV+= CPPFLAGS=-I${WRKDIR}/include post-extract: ${MKDIR} ${WRKDIR}/include ${LN} -fs /usr/include/sys/endian.h ${WRKDIR}/include + ${RM} -f ${WRKSRC}/as/mcs51/string.h ${WRKSRC}/as/z80/string.h .endif post-install: -- cgit v1.2.3