summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroy <roy@pkgsrc.org>2017-01-02 21:01:34 +0000
committerroy <roy@pkgsrc.org>2017-01-02 21:01:34 +0000
commit3980d3d030d69f8b4bc73b6b74f3eaf99fd86715 (patch)
tree8522ed4b4684d743bdb95a63f2344639542fcab6
parentf4432a4dc9ed3912ae93c2d67de9f93fa0b1164b (diff)
downloadpkgsrc-3980d3d030d69f8b4bc73b6b74f3eaf99fd86715.tar.gz
Build py-cursespanel with support for NetBSD curses.
-rw-r--r--devel/py-cursespanel/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/devel/py-cursespanel/Makefile b/devel/py-cursespanel/Makefile
index ec46774ffb8..75b7d5d7332 100644
--- a/devel/py-cursespanel/Makefile
+++ b/devel/py-cursespanel/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.28 2016/12/18 23:33:11 joerg Exp $
+# $NetBSD: Makefile,v 1.29 2017/01/02 21:01:34 roy Exp $
PKGNAME= ${PYPKGPREFIX}-cursespanel-${PY_DISTVERSION}
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= devel python
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -10,11 +10,9 @@ COMMENT= Curses panel module for Python
DEPENDS+= ${PYPKGPREFIX}-curses-[0-9]*:../../devel/py-curses
-USE_NCURSES= yes
-# filter getsyx getwin has_key immedok mvwinsnstr mvwinsstr ...
-# noqiflush pechochar putp putwin qiflush redrawwin setsyx syncok termattrs
-# termname tigetflag tigetnum tigetstr tparm typeahead use_env wcursyncup
-# wechochar winsnstr winsstr wredrawln wsyncdown wsyncup
+USE_CURSES= getsyx
+FAKE_NCURSES= yes
+
EXTRACT_ELEMENTS= ${PYSUBDIR}/Modules/_curses_panel.c
PYDISTUTILSPKG= yes
PY_PATCHPLIST= yes
@@ -31,5 +29,5 @@ do-patch:
.include "../../lang/python/extension.mk"
.include "../../lang/python/srcdist.mk"
-.include "../../devel/ncurses/buildlink3.mk"
+.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"