pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libgetopt Use -DREPLACE_GETOPT on AIX as well. R...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/243035800082
branches:  trunk
changeset: 531649:243035800082
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Aug 03 20:43:50 2007 +0000

description:
Use -DREPLACE_GETOPT on AIX as well. Remove NETBSD_COMPATIBLE define,
it is not used anywhere.

diffstat:

 devel/libgetopt/Makefile |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r d3a4c9a74ad9 -r 243035800082 devel/libgetopt/Makefile
--- a/devel/libgetopt/Makefile  Fri Aug 03 20:02:30 2007 +0000
+++ b/devel/libgetopt/Makefile  Fri Aug 03 20:43:50 2007 +0000
@@ -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 @@
 
 .include "../../mk/bsd.prefs.mk"
 
-.if ${OPSYS} == "SunOS"
-MAKEFLAGS+=    NETBSD_COMPATIBLE=YES
+.if ${OPSYS} == "SunOS" || ${OPSYS} == "AIX"
 CFLAGS+=       -DREPLACE_GETOPT
 .endif
 



Home | Main Index | Thread Index | Old Index