diff options
author | joerg <joerg@pkgsrc.org> | 2008-12-10 15:30:29 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-12-10 15:30:29 +0000 |
commit | 6f7ff4a37f922cb3390e8948ae566c6c5614db27 (patch) | |
tree | d464055dbebb0e8a9b4621e6c131662deb79a922 /devel | |
parent | d8651901d16d720e88ad5868c1c10d3d2f86ed1f (diff) | |
download | pkgsrc-6f7ff4a37f922cb3390e8948ae566c6c5614db27.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/Makefile | 4 | ||||
-rw-r--r-- | devel/libgetopt/files/getopt.h | 5 |
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_ */ |