diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2003-08-05 03:14:38 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2003-08-05 03:14:38 +0000 |
commit | bd08591cdf7db040f42db17b1c846561b93ac046 (patch) | |
tree | 3e495a7570f5fc6d55326dce129a6ebb5026a5a9 /www/mod_python3 | |
parent | 484420a603bf189ff3e73cd02730eb9c9d1ca457 (diff) |
Add a workaround for python2.3
Notes
Notes:
svn path=/head/; revision=86321
Diffstat (limited to 'www/mod_python3')
-rw-r--r-- | www/mod_python3/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/www/mod_python3/Makefile b/www/mod_python3/Makefile index c66137764df5..72b9f1866a14 100644 --- a/www/mod_python3/Makefile +++ b/www/mod_python3/Makefile @@ -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> |