aboutsummaryrefslogtreecommitdiffstats
path: root/devel/apr2
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-05-18 13:44:56 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-05-18 13:44:56 +0800
commit26338f53bd6fc42cae0db7d6213e6f0607a2e1da (patch)
treea23c47e57d6d00484a8329a8ef4c07e4397a3f74 /devel/apr2
parente856a0b39105ead38c4af1c5a152564476ea8968 (diff)
downloadfreebsd-ports-gnome-26338f53bd6fc42cae0db7d6213e6f0607a2e1da.tar.gz
freebsd-ports-gnome-26338f53bd6fc42cae0db7d6213e6f0607a2e1da.tar.zst
freebsd-ports-gnome-26338f53bd6fc42cae0db7d6213e6f0607a2e1da.zip
- 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 <sunpoet@sunpoet.net> With Hat: apache@
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} ; \