diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2001-05-03 22:03:31 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2001-05-03 22:03:31 +0000 |
commit | 6048b53973ac0c7e03d8af78ddeef814601b50c4 (patch) | |
tree | a07420480657cfe45891af727abc7474c546d000 /devel/sdcc/Makefile | |
parent | 5614b8f2ff52cb1afd9e62a735047176b06b2950 (diff) | |
download | pkgsrc-6048b53973ac0c7e03d8af78ddeef814601b50c4.tar.gz |
fix for powerpc.
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 |