diff options
author | fhajny <fhajny@pkgsrc.org> | 2012-06-08 13:21:10 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2012-06-08 13:21:10 +0000 |
commit | 11ddafbf3bdefd5068356f5982ec9bb3bd18cfec (patch) | |
tree | 05bd6f93d7b8d6d71fdde2740404eabfe7643502 /devel | |
parent | 3e8bd8167775c80be89cd61309b0d06a7eb65153 (diff) | |
download | pkgsrc-11ddafbf3bdefd5068356f5982ec9bb3bd18cfec.tar.gz |
Fix ncurses/ncursesw build on SunOS and GCC>=4.6
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ncurses/Makefile.common | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/ncurses/Makefile.common b/devel/ncurses/Makefile.common index d4066d9da05..8548a2fc7bf 100644 --- a/devel/ncurses/Makefile.common +++ b/devel/ncurses/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.16 2011/04/06 14:02:47 adam Exp $ +# $NetBSD: Makefile.common,v 1.17 2012/06/08 13:21:10 fhajny Exp $ # # used by devel/ncursesw/Makefile @@ -48,6 +48,10 @@ CONFIGURE_ARGS+= --without-manpage-tbl .endif .if ${OPSYS} == "SunOS" +.include "../../mk/compiler.mk" +. if !empty(CC_VERSION:Mgcc-4.[6-9].*) +BUILDLINK_TRANSFORM+= rm:-D_XOPEN_SOURCE_EXTENDED +. endif TERMINFO_SRC= ${WRKSRC}/misc/terminfo.src TERMINFODIR= share/lib/terminfo .else |