diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2003-08-01 22:56:21 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2003-08-01 22:56:21 +0000 |
commit | 741fc3e1664d7ae4a5c905c1d98a5d5744be4dea (patch) | |
tree | 7bd9b07379e4168df05e71e42022203efb41f417 /devel/py-kqueue | |
parent | f49745bf18d057a9f03cb5fd1ee0eb305c3d2427 (diff) | |
download | ports-741fc3e1664d7ae4a5c905c1d98a5d5744be4dea.tar.gz ports-741fc3e1664d7ae4a5c905c1d98a5d5744be4dea.zip |
Add a workaround to enable building on python2.3.
Notes
Notes:
svn path=/head/; revision=86162
Diffstat (limited to 'devel/py-kqueue')
-rw-r--r-- | devel/py-kqueue/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/py-kqueue/Makefile b/devel/py-kqueue/Makefile index e13bea97a726..690c7345b4de 100644 --- a/devel/py-kqueue/Makefile +++ b/devel/py-kqueue/Makefile @@ -18,6 +18,7 @@ MAINTAINER= dwhite@FreeBSD.org COMMENT= Python interface to kqueue(2) and kevent(2) system calls USE_PYTHON= yes +USE_REINPLACE= yes PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g} .include <bsd.port.pre.mk> @@ -29,6 +30,11 @@ IGNORE="requires new kqueue API" IGNORE="requires new kqueue API" .endif +post-patch: +.if ${PYTHON_REL} >= 230 + @${REINPLACE_CMD} -e 's,@DEFS@,,' ${WRKSRC}/Makefile.pre.in +.endif + do-configure: @(cd ${WRKSRC} && \ make -f Makefile.pre.in boot) |