ports/173575: Fix devel/boost-python-libs with python-3.2
Charlie &
root at dhcp175-40-red.yandex.net
Mon Nov 12 12:10:01 UTC 2012
>Number: 173575
>Category: ports
>Synopsis: Fix devel/boost-python-libs with python-3.2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Nov 12 12:10:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Dmitry Sivachenko <demon at FreeBSD.org>
>Release: FreeBSD 9.1-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD dhcp175-40-red.yandex.net 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0: Tue Oct 30 14:02:06 MSK 2012 root at dhcp175-40-red.yandex.net:/usr/obj/usr/src/sys/CAVIA9 amd64
>Description:
devel/boost-python-libs fails to build with python version 3.2.
This patch fixes that.
>How-To-Repeat:
>Fix:
--- Makefile.old 2012-05-16 20:07:24.000000000 +0400
+++ Makefile 2012-11-12 15:59:10.000000000 +0400
@@ -9,7 +9,7 @@
COMMENT= Framework for interfacing Python and C++
USE_BZIP2= yes
-USE_PYTHON= 2.5-3.1
+USE_PYTHON= 2.5-3.2
OPTIONS= VERBOSE_BUILD "Show compiler messages" off \
DEBUG "Build debugging symbols" off \
@@ -35,7 +35,11 @@
post-patch: customize-boost-build
do-build:
+.if ${PYTHON_VER} == "3.2"
+ ${ECHO_CMD} "using python : " ${PYTHON_VER} " : " ${PYTHON_CMD} " : " ${PYTHON_INCLUDEDIR} ";" >> ${WRKSRC}/tools/build/v2/site-config.jam
+.else
${ECHO_CMD} "using python : " ${PYTHON_VER} ";" >> ${WRKSRC}/tools/build/v2/site-config.jam
+.endif
# build the library
cd ${WRKSRC} && \
${SETENV} ${MAKE_ENV} ${BJAM} ${BJAM_OPTIONS} --prefix=${PREFIX}\
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list