diff options
author | rillig <rillig> | 2006-06-17 17:31:08 +0000 |
---|---|---|
committer | rillig <rillig> | 2006-06-17 17:31:08 +0000 |
commit | 6824c43b22a9e8b70be3953a525e1439da9e427a (patch) | |
tree | 09efb8dd1270b1e9251574ac3d88d5327273bff4 /devel/py-curses | |
parent | b482ba01e00f56c46c86d6ae8f863375ce7b72ba (diff) | |
download | pkgsrc-6824c43b22a9e8b70be3953a525e1439da9e427a.tar.gz |
Fixed pkglint warnings.
Diffstat (limited to 'devel/py-curses')
-rw-r--r-- | devel/py-curses/Makefile | 14 | ||||
-rw-r--r-- | devel/py-curses/buildlink3.mk | 7 |
2 files changed, 11 insertions, 10 deletions
diff --git a/devel/py-curses/Makefile b/devel/py-curses/Makefile index 38352bafa1d..237b4df69a0 100644 --- a/devel/py-curses/Makefile +++ b/devel/py-curses/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.30 2006/04/06 06:21:55 reed Exp $ +# $NetBSD: Makefile,v 1.31 2006/06/17 17:31:08 rillig Exp $ # PKGNAME= ${PYPKGPREFIX}-curses-0 @@ -9,7 +9,8 @@ MAINTAINER= tsarna@NetBSD.org HOMEPAGE= http://www.python.org/doc/current/lib/module-curses.html COMMENT= Curses module for Python -USE_NCURSES= # filter getsyx getwin has_key immedok mvwinsnstr mvwinsstr ... +USE_NCURSES= yes +# needs: 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 @@ -24,10 +25,11 @@ BUILDLINK_API_DEPENDS.python23+= python23>=2.3nb2 # ignore errors due to missing files (EXTRACT_ELEMENTS!) do-patch: - (cd ${WRKSRC}; \ - for f in ${PATCHDIR}/patch-*;do \ - ${PATCH} --batch <$$f || true; \ - done) + set -e; \ + cd ${WRKSRC}; \ + for f in ${PATCHDIR}/patch-*; do \ + ${PATCH} --batch < "$$f" || ${TRUE}; \ + done .include "../../lang/python/extension.mk" .include "../../lang/python/srcdist.mk" diff --git a/devel/py-curses/buildlink3.mk b/devel/py-curses/buildlink3.mk index 426b869bbe3..71046fa61a1 100644 --- a/devel/py-curses/buildlink3.mk +++ b/devel/py-curses/buildlink3.mk @@ -1,10 +1,8 @@ -# $NetBSD: buildlink3.mk,v 1.4 2006/04/12 10:27:13 rillig Exp $ +# $NetBSD: buildlink3.mk,v 1.5 2006/06/17 17:31:08 rillig Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ PY_CURSES_BUILDLINK3_MK:= ${PY_CURSES_BUILDLINK3_MK}+ -.include "../../lang/python/pyversion.mk" - .if !empty(BUILDLINK_DEPTH:M+) BUILDLINK_DEPENDS+= pycurses .endif @@ -13,8 +11,9 @@ BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npycurses} BUILDLINK_PACKAGES+= pycurses .if !empty(PY_CURSES_BUILDLINK3_MK:M+) +. include "../../lang/python/pyversion.mk" BUILDLINK_API_DEPENDS.pycurses+= ${PYPKGPREFIX}-curses-[0-9]* -BUILDLINK_ABI_DEPENDS.pycurses?= ${PYPKGPREFIX}-curses>=0nb4 +BUILDLINK_ABI_DEPENDS.pycurses+= ${PYPKGPREFIX}-curses>=0nb4 BUILDLINK_PKGSRCDIR.pycurses?= ../../devel/py-curses .endif # PY_CURSES_BUILDLINK3_MK |