summaryrefslogtreecommitdiff
path: root/devel/m4/Makefile
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
commitd300af6fecb2702b9bf5c98e960d18492e25b04c (patch)
tree86e4ed9576faf1ac9dee8e67ffa5bd793d1f9017 /devel/m4/Makefile
parentedeea1baf00674418de501a8481f83770763187f (diff)
downloadpkgsrc-d300af6fecb2702b9bf5c98e960d18492e25b04c.tar.gz
add switch to avoid wrappers used for gnu compatibility on AIX
Diffstat (limited to 'devel/m4/Makefile')
-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