aboutsummaryrefslogtreecommitdiff
path: root/devel/apr2
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-05-18 05:44:56 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-05-18 05:44:56 +0000
commit449a8d1f1834715fb9a7c2526f747e9362a1318c (patch)
tree4e035958f3237b96be9a955d60cdbce6981199b5 /devel/apr2
parenta2919875df6429f5368720db615f2a1ae1b6be46 (diff)
downloadports-449a8d1f1834715fb9a7c2526f747e9362a1318c.tar.gz
ports-449a8d1f1834715fb9a7c2526f747e9362a1318c.zip
Notes
Diffstat (limited to 'devel/apr2')
-rw-r--r--devel/apr2/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/apr2/Makefile b/devel/apr2/Makefile
index 11f8eb68abd6..a5061d27e703 100644
--- a/devel/apr2/Makefile
+++ b/devel/apr2/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} ; \