summaryrefslogtreecommitdiff
path: root/devel/libgetopt
diff options
context:
space:
mode:
authorjoerg <joerg>2007-08-03 20:43:50 +0000
committerjoerg <joerg>2007-08-03 20:43:50 +0000
commit8d529025076a016fc21b1148072662c670fbd994 (patch)
tree83059da2016691790bc2a5863996f77b028d0218 /devel/libgetopt
parentc9e9b2eeeb217c71eb6f152b4fee3b38a419576d (diff)
downloadpkgsrc-8d529025076a016fc21b1148072662c670fbd994.tar.gz
Use -DREPLACE_GETOPT on AIX as well. Remove NETBSD_COMPATIBLE define,
it is not used anywhere.
Diffstat (limited to 'devel/libgetopt')
-rw-r--r--devel/libgetopt/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/devel/libgetopt/Makefile b/devel/libgetopt/Makefile
index 2504fdb7c9c..38c0a9702d3 100644
--- a/devel/libgetopt/Makefile
+++ b/devel/libgetopt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2007/01/07 09:13:51 rillig Exp $
+# $NetBSD: Makefile,v 1.26 2007/08/03 20:43:50 joerg Exp $
#
DISTNAME= libgetopt-1.4.1
@@ -15,8 +15,7 @@ WRKSRC= ${WRKDIR}/libgetopt
.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "SunOS"
-MAKEFLAGS+= NETBSD_COMPATIBLE=YES
+.if ${OPSYS} == "SunOS" || ${OPSYS} == "AIX"
CFLAGS+= -DREPLACE_GETOPT
.endif