diff options
author | sno <sno> | 2009-02-25 21:03:01 +0000 |
---|---|---|
committer | sno <sno> | 2009-02-25 21:03:01 +0000 |
commit | 174ff493f6055198fa2775329f037f347f156564 (patch) | |
tree | c3fd2872c257d386966f89419914bfe05ad09216 /devel | |
parent | cc2babdfd9fc8ad12ef3477d7085cfc4c8850ba5 (diff) | |
download | pkgsrc-174ff493f6055198fa2775329f037f347f156564.tar.gz |
turn on linux source compatibility for AIX - flex dumps core otherwise
when try to allocate 0 bytes
Diffstat (limited to 'devel')
-rw-r--r-- | devel/flex/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/flex/Makefile b/devel/flex/Makefile index 0af612b2692..8806807d98b 100644 --- a/devel/flex/Makefile +++ b/devel/flex/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.30 2008/05/18 00:43:51 tnn Exp $ +# $NetBSD: Makefile,v 1.31 2009/02/25 21:03:01 sno Exp $ DISTNAME= flex-2.5.35 CATEGORIES= lang @@ -20,6 +20,10 @@ USE_PKGLOCALEDIR= YES .include "../../mk/bsd.prefs.mk" +.if ${LOWER_OPSYS} == "aix" +CFLAGS+= -D_LINUX_SOURCE_COMPAT +.endif + #.if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss]) USE_LANGUAGES= c c++ USE_TOOLS+= gmake # bmake has problems with the test suite |