diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-11-08 06:17:18 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-11-08 06:17:18 +0000 |
commit | 1cb2cb26cb88e554b8adffd719f7501882dbc294 (patch) | |
tree | 9330d3d310e2d9d7081109d54f1b86c8d505c4b6 /dev-libs | |
parent | Add ~amd64 keyword wrt bug #442206 (diff) | |
download | gentoo-2-1cb2cb26cb88e554b8adffd719f7501882dbc294.tar.gz gentoo-2-1cb2cb26cb88e554b8adffd719f7501882dbc294.tar.bz2 gentoo-2-1cb2cb26cb88e554b8adffd719f7501882dbc294.zip |
Only create the -mt links for USE=threads.
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/boost/ChangeLog | 5 | ||||
-rw-r--r-- | dev-libs/boost/boost-1.52.0-r1.ebuild | 12 |
2 files changed, 11 insertions, 6 deletions
diff --git a/dev-libs/boost/ChangeLog b/dev-libs/boost/ChangeLog index 76c80378fc56..50cfcee042d4 100644 --- a/dev-libs/boost/ChangeLog +++ b/dev-libs/boost/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-libs/boost # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/ChangeLog,v 1.276 2012/11/08 03:28:05 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/ChangeLog,v 1.277 2012/11/08 06:17:18 flameeyes Exp $ + + 08 Nov 2012; Diego E. Pettenò <flameeyes@gentoo.org> boost-1.52.0-r1.ebuild: + Only create the -mt links for USE=threads. *boost-1.52.0-r1 (08 Nov 2012) diff --git a/dev-libs/boost/boost-1.52.0-r1.ebuild b/dev-libs/boost/boost-1.52.0-r1.ebuild index a7df3b37587b..9f33eb1d5a38 100644 --- a/dev-libs/boost/boost-1.52.0-r1.ebuild +++ b/dev-libs/boost/boost-1.52.0-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.52.0-r1.ebuild,v 1.1 2012/11/08 03:28:05 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.52.0-r1.ebuild,v 1.2 2012/11/08 06:17:18 flameeyes Exp $ EAPI="5" PYTHON_DEPEND="python? *" @@ -293,10 +293,12 @@ EOF pushd "${D}usr/$(get_libdir)" > /dev/null || die local ext=$(get_libname) - local f - for f in $(ls -1 *${ext}); do - dosym ${f} /usr/$(get_libdir)/${f/${ext}/-mt${ext}} - done + if use threads; then + local f + for f in $(ls -1 *${ext}); do + dosym ${f} /usr/$(get_libdir)/${f/${ext}/-mt${ext}} + done + fi if use debug; then dodir /usr/$(get_libdir)/boost-debug |