diff options
author | richard <richard@pkgsrc.org> | 2014-08-10 09:10:10 +0000 |
---|---|---|
committer | richard <richard@pkgsrc.org> | 2014-08-10 09:10:10 +0000 |
commit | df456259e04f30d143f88158e7cdb9738f6de536 (patch) | |
tree | a54142ba161040bbe89468b18287e349a2ab5ce3 /devel/ncurses | |
parent | 5852d2419d7ce66135b38e0b62bf86c339df296f (diff) | |
download | pkgsrc-df456259e04f30d143f88158e7cdb9738f6de536.tar.gz |
Avoid redefinition warnings with _XOPEN_SOURCE using _POSIX_C_SOURCE
on SunOS (especially during bootstrapping)
Diffstat (limited to 'devel/ncurses')
-rw-r--r-- | devel/ncurses/Makefile.common | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/ncurses/Makefile.common b/devel/ncurses/Makefile.common index 940506d6781..696112e863a 100644 --- a/devel/ncurses/Makefile.common +++ b/devel/ncurses/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.21 2014/07/21 07:50:45 richard Exp $ +# $NetBSD: Makefile.common,v 1.22 2014/08/10 09:10:10 richard Exp $ # # used by devel/ncursesw/Makefile @@ -62,7 +62,7 @@ USE_LANGUAGES+= c99 .include "../../mk/compiler.mk" . if !empty(CC_VERSION:Mgcc-4.*) #This may yet need to be adapted for systems prior to Solaris 10 -BUILDLINK_TRANSFORM+= rename:-D_XOPEN_SOURCE=500:-D_XOPEN_SOURCE=600 +BUILDLINK_TRANSFORM+= rename:-D_XOPEN_SOURCE=500:-D_POSIX_C_SOURCE=200112L BUILDLINK_TRANSFORM+= rm:-D_XOPEN_SOURCE_EXTENDED . endif TERMINFO_SRC= ${WRKSRC}/misc/terminfo.src |