summaryrefslogtreecommitdiff
path: root/devel/sdcc/Makefile
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2001-04-29 16:15:15 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2001-04-29 16:15:15 +0000
commit3ecef7be864a431646d9fb803633aa906b9e6d16 (patch)
tree5ade487dc538d53a92ead2ac0b559ad713084a50 /devel/sdcc/Makefile
parentaa33641446bdca7b9879c07baf13e359bbd1818a (diff)
downloadpkgsrc-3ecef7be864a431646d9fb803633aa906b9e6d16.tar.gz
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.
Diffstat (limited to 'devel/sdcc/Makefile')
-rw-r--r--devel/sdcc/Makefile6
1 files changed, 5 insertions, 1 deletions
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: