mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Add a workaround for python2.3
This commit is contained in:
parent
484420a603
commit
bd08591cdf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86321
@ -23,10 +23,18 @@ USE_PYTHON= yes
|
||||
APXS?= ${LOCALBASE}/sbin/apxs
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_REINPLACE= yes
|
||||
CONFIGURE_ARGS+=--with-apxs="${APXS}" --with-python="${PYTHON_CMD}"
|
||||
MAKE_ENV= EXPR_COMPAT=yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PYTHON_REL} >= 230
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's,LONG_LONG,long long,g' ${WRKSRC}/src/requestobject.c
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user