pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/libgetopt SunOS getopt doesn't define/use optreset
details: https://anonhg.NetBSD.org/pkgsrc/rev/a22b6ec0e69c
branches: trunk
changeset: 639440:a22b6ec0e69c
user: richard <richard%pkgsrc.org@localhost>
date: Sat Sep 13 11:03:17 2014 +0000
description:
SunOS getopt doesn't define/use optreset
diffstat:
devel/libgetopt/Makefile | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 6bbf3e12804b -r a22b6ec0e69c devel/libgetopt/Makefile
--- a/devel/libgetopt/Makefile Sat Sep 13 10:53:04 2014 +0000
+++ b/devel/libgetopt/Makefile Sat Sep 13 11:03:17 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2014/09/11 21:48:34 jperkin Exp $
+# $NetBSD: Makefile,v 1.37 2014/09/13 11:03:17 richard Exp $
#
DISTNAME= libgetopt-1.4.6
@@ -17,7 +17,8 @@
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "AIX" || ${OPSYS} == "HPUX" || \
- ${OPSYS} == "OSF1" || ${OPSYS} == "Linux"
+ ${OPSYS} == "OSF1" || ${OPSYS} == "Linux" || ${OPSYS} == "SunOS"
+
CFLAGS+= -DREPLACE_GETOPT
.endif
CFLAGS.OSF1+= -I. # stdio.h includes <getopt.h>, make sure it's our copy
Home |
Main Index |
Thread Index |
Old Index