Add a workaround to enable building on python2.3.
This commit is contained in:
parent
f49745bf18
commit
741fc3e166
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86162
1 changed files with 6 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue