aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-05-18 13:46:02 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-05-18 13:46:02 +0800
commit90b9d0ab9ae51453b45414784d3358ca439cb6b6 (patch)
treed14b58ff8d9549caaf6164b447add6733810c3e5 /devel
parent26338f53bd6fc42cae0db7d6213e6f0607a2e1da (diff)
downloadfreebsd-ports-gnome-90b9d0ab9ae51453b45414784d3358ca439cb6b6.tar.gz
freebsd-ports-gnome-90b9d0ab9ae51453b45414784d3358ca439cb6b6.tar.zst
freebsd-ports-gnome-90b9d0ab9ae51453b45414784d3358ca439cb6b6.zip
- Define python version explicitly
${APR_WRKDIR}/build/gen-build.py does not work with Python 3.1 - No PORTREVISION bump (build only) [duplicate fix as devel/apr1] PR: ports/146621 Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net> With Hat: apache@
Diffstat (limited to 'devel')
-rw-r--r--devel/apr0/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/apr0/Makefile b/devel/apr0/Makefile
index eb23b1a369f9..4a1b914bb429 100644
--- a/devel/apr0/Makefile
+++ b/devel/apr0/Makefile
@@ -34,7 +34,7 @@ APU_VERSION= 0.9.17
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
@@ -154,6 +154,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} ; \