pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/m4 add switch to avoid wrappers used for gnu com...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eda6b6f04b46
branches:  trunk
changeset: 559441:eda6b6f04b46
user:      sno <sno%pkgsrc.org@localhost>
date:      Thu May 21 16:18:25 2009 +0000

description:
add switch to avoid wrappers used for gnu compatibility on AIX

diffstat:

 devel/m4/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r c4dbe6ff4ef1 -r eda6b6f04b46 devel/m4/Makefile
--- a/devel/m4/Makefile Thu May 21 16:16:28 2009 +0000
+++ b/devel/m4/Makefile Thu May 21 16:18:25 2009 +0000
@@ -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.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



Home | Main Index | Thread Index | Old Index