summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorsno <sno@pkgsrc.org>2009-05-21 16:18:25 +0000
committersno <sno@pkgsrc.org>2009-05-21 16:18:25 +0000
commitd6e31e0e4405fe6c7c0f7ad29551a7e5af856d33 (patch)
tree86e4ed9576faf1ac9dee8e67ffa5bd793d1f9017 /devel
parent5f635ab3b48b08d28192e9630a6800f1e9194386 (diff)
downloadpkgsrc-d6e31e0e4405fe6c7c0f7ad29551a7e5af856d33.tar.gz
add switch to avoid wrappers used for gnu compatibility on AIX
Diffstat (limited to 'devel')
-rw-r--r--devel/m4/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/m4/Makefile b/devel/m4/Makefile
index 12dfd1966a3..62f31012eb4 100644
--- a/devel/m4/Makefile
+++ b/devel/m4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.59 2009/05/19 08:59:11 wiz Exp $
+# $NetBSD: Makefile,v 1.60 2009/05/21 16:18:25 sno Exp $
DISTNAME= m4-1.4.13
CATEGORIES= devel
@@ -31,6 +31,10 @@ PLIST_VARS+= gm4
PLIST.gm4= yes
.endif
+.if ${LOWER_OPSYS} == "aix"
+CFLAGS+= -D_LINUX_SOURCE_COMPAT
+.endif
+
.if ${OPSYS} == "DragonFly"
post-patch:
${CP} ${FILESDIR}/bsd-fflush.c ${WRKSRC}/lib/fflush.c