[PATCH] devel/apr: define python version explicitly
Sunpoet Po-Chuan Hsieh
sunpoet at sunpoet.net
Sat May 15 18:24:06 UTC 2010
>Submitter-Id: current-users
>Originator: Sunpoet Po-Chuan Hsieh
>Organization: SUNPOET.net
>Confidential: no
>Synopsis: [PATCH] devel/apr: define python version explicitly
>Severity: non-critical
>Priority: low
>Category: ports
>Class: change-request
>Release: FreeBSD 8.0-STABLE amd64
>Environment:
System: FreeBSD bonjour.sunpoet.net 8.0-STABLE FreeBSD 8.0-STABLE #0: Wed May 5 00:44:42 CST
>Description:
- Define python version explicitly
${APR_WRKDIR}/build/gen-build.py does not work with Python 3.1
Port maintainer (apache at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- apr-1.4.2.1.3.9_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/sunpoet/apr/../../devel/apr/Makefile /usr/ports/sunpoet/apr/Makefile
--- /usr/ports/sunpoet/apr/../../devel/apr/Makefile 2010-05-08 17:29:32.000000000 +0800
+++ /usr/ports/sunpoet/apr/Makefile 2010-05-16 01:56:16.000000000 +0800
@@ -36,7 +36,7 @@
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 @@
${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} ; \
--- apr-1.4.2.1.3.9_1.patch ends here ---
More information about the freebsd-apache
mailing list