From owner-freebsd-ports@FreeBSD.ORG Thu Jul 30 16:19:46 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCA53106566C for ; Thu, 30 Jul 2009 16:19:46 +0000 (UTC) (envelope-from mel.flynn+fbsd.ports@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 91CC78FC13 for ; Thu, 30 Jul 2009 16:19:46 +0000 (UTC) (envelope-from mel.flynn+fbsd.ports@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id B0DA27E818; Thu, 30 Jul 2009 08:19:45 -0800 (AKDT) From: Mel Flynn To: freebsd-ports@freebsd.org Date: Thu, 30 Jul 2009 08:19:43 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA2; KDE/4.2.4; i386; ; ) References: <3cb459ed0906290644x86ac44cu48fd8bba52d024f9@mail.gmail.com> <200907291356.39608.mel.flynn+fbsd.ports@mailing.thruhere.net> <3cb459ed0907300420m4b0bd47cjd209aacdbbeb10da@mail.gmail.com> In-Reply-To: <3cb459ed0907300420m4b0bd47cjd209aacdbbeb10da@mail.gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907300819.44453.mel.flynn+fbsd.ports@mailing.thruhere.net> Cc: Alexander Churanov Subject: Re: devel/boost: new patch for testing update to 1.39 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jul 2009 16:19:47 -0000 On Thursday 30 July 2009 03:20:56 Alexander Churanov wrote: > I do not understand. > > Is it correct that you are discussing the issue of Pyste being part of > boost and depending on gccxml port, which has issues of its own? > > I do not use Pyste and did not performed any specific testing of it, > but all of boost-python-libs builds and installs, including > dependencies. > > Please, describe what do you expect from ports and what do you > observe, what negative outcome the issue has. The previous boost-python port had an *optional* dependency on pyste. The current one does not. This means that boost-python now pulls in gccxml which pulls in lang/gcc34 on anything but 6.x. I'm currently building boost-python-libs with the pyste stuff ifdef'd out[1] and will try to build packages kdeedu3, kdebase4, games/wesnoth to see if there's any adverse side-effects. -- Mel [1] --- Makefile.orig 2009-07-28 03:44:50.000000000 -0800 +++ Makefile 2009-07-30 07:19:26.000000000 -0800 @@ -25,9 +25,11 @@ PYTHON_INCLUDES="${PYTHON_INCLUDEDIR}"\ PYTHON_LIB_PATH="${PYTHON_LIBDIR}" -RUN_DEPENDS+= ${PREFIX}/lib/libboost_thread.so.${BOOST_SHARED_LIB_VER}:${PORTSDIR}/devel/boost-libs -RUN_DEPENDS+= gccxml:${PORTSDIR}/devel/gccxml \ - ${PYTHON_SITELIBDIR}/elementtree/ElementTree.py:${PORTSDIR}/devel/py-elementtree +RUN_DEPENDS+= ${LOCALBASE}/lib/libboost_thread.so.${BOOST_SHARED_LIB_VER}:${PORTSDIR}/devel/boost-libs +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/elementtree/ElementTree.py:${PORTSDIR}/devel/py-elementtree +.if defined(WITH_PYSTE) +RUN_DEPENDS+= gccxml:${PORTSDIR}/devel/gccxml +.endif BUILD_DEPENDS+= ${BJAM}:${PORTSDIR}/devel/boost-jam BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/elementtree/ElementTree.py:${PORTSDIR}/devel/py-elementtree @@ -39,12 +41,13 @@ post-patch: customize-boost-build - +.if defined(WITH_PYSTE) post-configure: # Configure pyste, the Boost.Python code generator @cd ${BUILD_WRKSRC}/libs/python/pyste/install && \ ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} \ config ${PYDISTUTILS_CONFIGUREARGS} +.endif do-build: # build the library @@ -52,11 +55,12 @@ ${SETENV} ${MAKE_ENV} ${BJAM} ${BJAM_OPTIONS} --prefix=${PREFIX}\ --toolset=${BOOST_TOOLS} --with-python +.if defined(WITH_PYSTE) # Build pyste, the Boost.Python code generator cd ${BUILD_WRKSRC}/libs/python/pyste/install && \ ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} \ build ${PYDISTUTILS_BUILDARGS} - +.endif # Remove non-python headers cd ${WRKSRC} && \ ${FIND} boost -not -path '*python*' -delete @@ -79,10 +83,12 @@ ${FIND} boost -type f -a \! -name "*.orig"\ -exec ${INSTALL_DATA} \{\} ${PREFIX}/include/\{\} \; +.if defined(WITH_PYSTE) # Install pyste, the Boost.Python code generator cd ${WRKSRC}/libs/python/pyste/install && \ ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} \ install ${PYDISTUTILS_INSTALLARGS} +.endif post-install: # display pkg-message