Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jul 2009 08:19:43 -0800
From:      Mel Flynn <mel.flynn+fbsd.ports@mailing.thruhere.net>
To:        freebsd-ports@freebsd.org
Cc:        Alexander Churanov <alexanderchuranov@gmail.com>
Subject:   Re: devel/boost: new patch for testing update to 1.39
Message-ID:  <200907300819.44453.mel.flynn%2Bfbsd.ports@mailing.thruhere.net>
In-Reply-To: <3cb459ed0907300420m4b0bd47cjd209aacdbbeb10da@mail.gmail.com>
References:  <3cb459ed0906290644x86ac44cu48fd8bba52d024f9@mail.gmail.com> <200907291356.39608.mel.flynn%2Bfbsd.ports@mailing.thruhere.net> <3cb459ed0907300420m4b0bd47cjd209aacdbbeb10da@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907300819.44453.mel.flynn%2Bfbsd.ports>