diff options
Diffstat (limited to 'devel/sdcc/Makefile')
-rw-r--r-- | devel/sdcc/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/devel/sdcc/Makefile b/devel/sdcc/Makefile index 3904434de16..a25efa89ad0 100644 --- a/devel/sdcc/Makefile +++ b/devel/sdcc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2001/05/03 15:35:44 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.8 2001/05/03 22:03:31 dmcmahill Exp $ # FreeBSD: ports/devel/sdcc/Makefile,v 1.5 2000/04/15 15:13:38 knu Exp DISTNAME= sdcc-2.2.1-src @@ -29,11 +29,16 @@ USE_GMAKE= yes USE_PERL5= yes CONFIGURE_ARGS+=--datadir=${LOCALBASE}/share/sdcc +# needed for some arch's. -fdollars-in-identifiers is enabled +# by default on some, not on others +CPPFLAGS+= -fdollars-in-identifiers +CONFIGURE_ENV+= MACHINE_ARCH=${MACHINE_ARCH} +CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" + .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "NetBSD" - -CONFIGURE_ENV+= CPPFLAGS=-I${WRKDIR}/include +CPPFLAGS+= -I${WRKDIR}/include post-extract: ${MKDIR} ${WRKDIR}/include |