summaryrefslogtreecommitdiff
path: root/devel/ncurses
diff options
context:
space:
mode:
authorrichard <richard@pkgsrc.org>2015-08-28 07:09:57 +0000
committerrichard <richard@pkgsrc.org>2015-08-28 07:09:57 +0000
commit4bd644cd2f09aeac7dcbaa8e5a725b3f4749c0db (patch)
treefcf8865bc84d726b29ca5827180b1780e82a9566 /devel/ncurses
parente0e09219be65c4471cef4ec43dbfba7d74e41f32 (diff)
downloadpkgsrc-4bd644cd2f09aeac7dcbaa8e5a725b3f4749c0db.tar.gz
cleanup SunOS workarounds in ncurses and ncursesw since update to ncurses 6.0
resolve for PR pkg/50175 bump PKGREVISION
Diffstat (limited to 'devel/ncurses')
-rw-r--r--devel/ncurses/Makefile3
-rw-r--r--devel/ncurses/Makefile.common12
2 files changed, 4 insertions, 11 deletions
diff --git a/devel/ncurses/Makefile b/devel/ncurses/Makefile
index 31d7bb5b02e..61eff71d831 100644
--- a/devel/ncurses/Makefile
+++ b/devel/ncurses/Makefile
@@ -1,5 +1,6 @@
-# $NetBSD: Makefile,v 1.91 2015/08/17 17:10:31 wiz Exp $
+# $NetBSD: Makefile,v 1.92 2015/08/28 07:09:57 richard Exp $
+PKGREVISION= 1
.include "Makefile.common"
COMMENT= CRT screen handling and optimization package
diff --git a/devel/ncurses/Makefile.common b/devel/ncurses/Makefile.common
index 711867f66fa..288b1f63d29 100644
--- a/devel/ncurses/Makefile.common
+++ b/devel/ncurses/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.29 2015/08/17 17:10:31 wiz Exp $
+# $NetBSD: Makefile.common,v 1.30 2015/08/28 07:09:57 richard Exp $
#
# used by devel/ncurses/Makefile
# used by devel/ncursesw/Makefile
@@ -42,10 +42,6 @@ SUBST_MESSAGE.rpath= Fixing rpath in ncurses-config.
CONFIGURE_ARGS+= --disable-mixed-case
.endif
-.if ${OPSYS} == "SunOS"
-USE_LANGUAGES+= c99
-.endif
-
.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
TOOL_DEPENDS+= ncurses-${NC_VERS}:../../devel/ncurses
CONFIGURE_ENV+= BUILD_CC=${NATIVE_CC:Q}
@@ -68,11 +64,7 @@ CONFIGURE_ARGS+= --without-manpage-tbl
.include "../../mk/compiler.mk"
.if ${OPSYS} == "SunOS"
-. if !empty(CC_VERSION:Mgcc-4.*)
-#This may yet need to be adapted for systems prior to Solaris 10
-BUILDLINK_TRANSFORM+= opt:-D_XOPEN_SOURCE=500:-D_POSIX_C_SOURCE=200112L
-BUILDLINK_TRANSFORM+= rm:-D_XOPEN_SOURCE_EXTENDED
-. endif
+CONFIGURE_ARGS+= --disable-const
TERMINFO_SRC= ${WRKSRC}/misc/terminfo.src
TERMINFODIR= share/lib/terminfo
.else