Date: Mon, 12 Nov 2012 16:01:45 +0400 (MSK) From: Charlie & <root@dhcp175-40-red.yandex.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/173575: Fix devel/boost-python-libs with python-3.2 Message-ID: <201211121201.qACC1jKc017418@dhcp175-40-red.yandex.net> Resent-Message-ID: <201211121210.qACCA0wE006303@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211121201.qACC1jKc017418>