From bd08591cdf7db040f42db17b1c846561b93ac046 Mon Sep 17 00:00:00 2001 From: Hye-Shik Chang Date: Tue, 5 Aug 2003 03:14:38 +0000 Subject: Add a workaround for python2.3 --- www/mod_python3/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'www/mod_python3') 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 + +.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 +.include -- cgit v1.2.3