summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-12-10 15:30:29 +0000
committerjoerg <joerg@pkgsrc.org>2008-12-10 15:30:29 +0000
commit4207c042c3bd4fb135f4c14b5441fb920d7488cb (patch)
treed464055dbebb0e8a9b4621e6c131662deb79a922 /devel
parent144837d7977a5fa365fa40a490696ffc099c4052 (diff)
downloadpkgsrc-4207c042c3bd4fb135f4c14b5441fb920d7488cb.tar.gz
libgetopt-1.4.4:
If getopt.h is included, the getopt extension is really wanted. So remove check for _XOPEN_SOURCE and _POSIX_SOURCE, resolving errors on AIX.
Diffstat (limited to 'devel')
-rw-r--r--devel/libgetopt/Makefile4
-rw-r--r--devel/libgetopt/files/getopt.h5
2 files changed, 3 insertions, 6 deletions
diff --git a/devel/libgetopt/Makefile b/devel/libgetopt/Makefile
index c375262547e..6079840fdb7 100644
--- a/devel/libgetopt/Makefile
+++ b/devel/libgetopt/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.29 2008/03/03 17:45:35 jlam Exp $
+# $NetBSD: Makefile,v 1.30 2008/12/10 15:30:29 joerg Exp $
#
-DISTNAME= libgetopt-1.4.3
+DISTNAME= libgetopt-1.4.4
CATEGORIES= pkgtools sysutils
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/devel/libgetopt/files/getopt.h b/devel/libgetopt/files/getopt.h
index 5d6bf7ff54c..0708649f49f 100644
--- a/devel/libgetopt/files/getopt.h
+++ b/devel/libgetopt/files/getopt.h
@@ -1,4 +1,4 @@
-/* $NetBSD: getopt.h,v 1.6 2008/04/29 05:46:09 martin Exp $ */
+/* $NetBSD: getopt.h,v 1.7 2008/12/10 15:30:29 joerg Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -37,7 +37,6 @@
/*
* Gnu like getopt_long() and BSD4.4 getsubopt()/optreset extensions
*/
-#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)
#define no_argument 0
#define required_argument 1
#define optional_argument 2
@@ -75,7 +74,5 @@ extern int optopt;
#ifdef __cplusplus
};
#endif
-
-#endif
#endif /* !_GETOPT_H_ */