diff options
-rw-r--r-- | devel/py-kqueue/Makefile | 2 | ||||
-rw-r--r-- | devel/py-ncurses/Makefile | 5 | ||||
-rw-r--r-- | devel/py-ncurses/distinfo | 1 | ||||
-rw-r--r-- | textproc/py-feedparser/Makefile | 4 |
4 files changed, 1 insertions, 11 deletions
diff --git a/devel/py-kqueue/Makefile b/devel/py-kqueue/Makefile index 002c4dd9a13d..1fe4b1891e80 100644 --- a/devel/py-kqueue/Makefile +++ b/devel/py-kqueue/Makefile @@ -26,9 +26,7 @@ MAKE_ENV= MAINCC=${CC} .include <bsd.port.pre.mk> post-patch: -.if ${PYTHON_REL} >= 230 @${REINPLACE_CMD} -e 's,@DEFS@,,' ${WRKSRC}/Makefile.pre.in -.endif do-configure: @(cd ${WRKSRC} && \ diff --git a/devel/py-ncurses/Makefile b/devel/py-ncurses/Makefile index 9966eccb6139..55189a55f011 100644 --- a/devel/py-ncurses/Makefile +++ b/devel/py-ncurses/Makefile @@ -23,16 +23,13 @@ PYDISTUTILS_PKGNAME= pyncurses .include <bsd.port.pre.mk> post-patch: -.if ${PYTHON_REL} >= 230 .for f in _curses_wrap.c _panel_wrap.c _menu_wrap.c _form_wrap.c @${REINPLACE_CMD} -e '45s,^.*$$,#include "py_curses.h",' \ ${WRKSRC}/ncurses/${f} .endfor -.if ${OSVERSION} > 700033 || (${OSVERSION} < 700000 && ${OSVERSION} > 602106) +.if ${OSVERSION} > 700033 || (${OSVERSION} < 700000) @${REINPLACE_CMD} -e '/^extern int define_key(/d' \ ${WRKSRC}/ncurses/_curses_wrap.c .endif -.endif - .include <bsd.port.post.mk> diff --git a/devel/py-ncurses/distinfo b/devel/py-ncurses/distinfo index 3edba7c391fd..5f84b13a58f1 100644 --- a/devel/py-ncurses/distinfo +++ b/devel/py-ncurses/distinfo @@ -1,3 +1,2 @@ -MD5 (pyncurses-0.3.tar.gz) = f29dc9704afd9a27ff21c6ad076e2eaa SHA256 (pyncurses-0.3.tar.gz) = c6d9e820867d0fb2d1b54dc588c047083c00f96e68475d8297b0cfec99ecef3e SIZE (pyncurses-0.3.tar.gz) = 86112 diff --git a/textproc/py-feedparser/Makefile b/textproc/py-feedparser/Makefile index 18a010cd5973..e5500d2808fa 100644 --- a/textproc/py-feedparser/Makefile +++ b/textproc/py-feedparser/Makefile @@ -26,10 +26,6 @@ USE_PYDISTUTILS= yes .include <bsd.port.pre.mk> -.if ${PYTHON_REL} < 240 -RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/cjkcodecs/__init__.py:${PORTSDIR}/converters/py-cjkcodecs -.endif - post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} |