From 26338f53bd6fc42cae0db7d6213e6f0607a2e1da Mon Sep 17 00:00:00 2001 From: pgollucci Date: Tue, 18 May 2010 05:44:56 +0000 Subject: - Define python version explicitly ${APR_WRKDIR}/build/gen-build.py does not work with Python 3.1 - No PORTREVISION bump (build only) PR: ports/146621 Submitted by: Sunpoet Po-Chuan Hsieh With Hat: apache@ --- devel/apr1/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'devel/apr1') diff --git a/devel/apr1/Makefile b/devel/apr1/Makefile index 11f8eb68abd6..a5061d27e703 100644 --- a/devel/apr1/Makefile +++ b/devel/apr1/Makefile @@ -36,7 +36,7 @@ APU_VERSION= 1.3.9 USE_ICONV= yes USE_AUTOTOOLS= automake:19 autoconf:262 libtool:22:env USE_PERL5_BUILD= yes -USE_PYTHON_BUILD= yes +USE_PYTHON_BUILD= -2.6 USE_LDCONFIG= yes GNU_CONFIGURE= yes @@ -216,6 +216,8 @@ post-patch: ${REINPLACE_CMD} -e 's,-lpthread,${PTHREAD_LIBS},g' \ ${APR_WRKDIR}/build/apr_threads.m4 ${APR_WRKDIR}/build/apr_hints.m4 \ ${APU_WRKDIR}/build/apu-conf.m4 + ${REINPLACE_CMD} -e '1 s/python/${PYTHON_VERSION}/' \ + ${APR_WRKDIR}/build/gen-build.py run-autotools:: cd ${APR_WRKDIR} ; \ -- cgit