From: Sebastien Fabbro Date: Wed, 4 Jan 2012 19:17:08 +0000 (+0000) Subject: Fix for bug #397605 by adding -shared to LDFLAGS X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6278cd379682819623e3da47834786072da90b7c;p=gentoo.git Fix for bug #397605 by adding -shared to LDFLAGS Package-Manager: portage-2.1.10.41/cvs/Linux x86_64 --- diff --git a/sci-libs/scikits_learn/ChangeLog b/sci-libs/scikits_learn/ChangeLog index 91a71140226a..591b4f72d058 100644 --- a/sci-libs/scikits_learn/ChangeLog +++ b/sci-libs/scikits_learn/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-libs/scikits_learn -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_learn/ChangeLog,v 1.6 2011/11/25 22:13:57 bicatali Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_learn/ChangeLog,v 1.7 2012/01/04 19:17:08 bicatali Exp $ + + 04 Jan 2012; Sébastien Fabbro + scikits_learn-0.9.ebuild: + Fix for bug #397605 by adding -shared to LDFLAGS *scikits_learn-0.9 (25 Nov 2011) diff --git a/sci-libs/scikits_learn/Manifest b/sci-libs/scikits_learn/Manifest index 7a82e37ae48f..9ea36155da1e 100644 --- a/sci-libs/scikits_learn/Manifest +++ b/sci-libs/scikits_learn/Manifest @@ -4,13 +4,13 @@ Hash: SHA1 DIST scikit-learn-0.9.tar.gz 2275070 RMD160 db73b2b33fe37d737995c878d1ff4733c9d32642 SHA1 25f175de04efef4a999083aebf3b3367cc53fe5f SHA256 5e083180a0eedf8e964c013731da30291afec28190d6be028f1185a283aded0a DIST scikits.learn-0.8.1.tar.gz 1575522 RMD160 f04e2ea2cf45f71ad90dcc6e5167c54787f012e5 SHA1 b846b1acce62af58b067a8aebcafd0cde271d1fc SHA256 00b3010f2cd4bc60d7ce4fd65e0ae10c398ab5366b981ee41ac3ce4b2d173c33 EBUILD scikits_learn-0.8.1.ebuild 1722 RMD160 729a4c1b00ddf1d257d531a1665da5b89084782a SHA1 d4e39483b3fcad5055aceedf9bcd47a0f3bd699d SHA256 9ea541251a3d24236c0f9b82db6c68f2c410c9f9e836f2c7a8cdc208f7b7a95b -EBUILD scikits_learn-0.9.ebuild 1714 RMD160 f347c6993ec569c7fcdc76607cdd081397af7fa6 SHA1 e91e0919f812fe5a6379400a03550d7f330696c3 SHA256 ab50222e235e2e848533b782e8b118506e2f94f9b277f990f96d0f0fde859463 -MISC ChangeLog 1888 RMD160 3ded8a600623ea851bd294205eb3c5a0d55ae425 SHA1 89057bb6e62d2bff44571826fa2ff4c2e1b170a1 SHA256 62f847740995fbd351f56000b5f638e8a0e00907bebad536697361953cc65329 +EBUILD scikits_learn-0.9.ebuild 1867 RMD160 a80c0df8ac2f832c77e43d376220898c8cdb74c0 SHA1 71ccf49646211ff5227943d0eeb92fa18e12b54b SHA256 3beb92d49c3a0f0060f675cf907a8d8a9d22d5ee4c563c468f3e22d3f0750e34 +MISC ChangeLog 2023 RMD160 e0300cc8f216ae6a1dbb2e7d88087bd804dba252 SHA1 2afa86b5e7854e8b5af68da4a9a1fd454df36f71 SHA256 7afde47fd146ee20aaa9d6c28472eca1e625974a5a8c2516acea90b20b2777f4 MISC metadata.xml 360 RMD160 b7e8ec0449f59c0dd0a7e3810b7c86b260d51530 SHA1 a54074283be9e7d2a113220e92a622b6fb4bfe45 SHA256 6d8c6ea79bfa70bc97b21c3b11454f4e47e31c20442a9ff96230d535562e945c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iEYEARECAAYFAk7QEy8ACgkQ1ycZbhPLE2CiUwCggLRNkQXXcon2XO6G1P6GtX5+ -Q8EAoJ8XJqHGdZw2UkGWhpkrBFEYC9ER -=sBbD +iEYEARECAAYFAk8EpbwACgkQ1ycZbhPLE2AcaACbBuBxc/AjsqYhCJelziDJAHqB +4jEAn0jRxtO7szAzjGWvT1VIQHRKpug0 +=ULdU -----END PGP SIGNATURE----- diff --git a/sci-libs/scikits_learn/scikits_learn-0.9.ebuild b/sci-libs/scikits_learn/scikits_learn-0.9.ebuild index 141c7637ee30..c56896586158 100644 --- a/sci-libs/scikits_learn/scikits_learn-0.9.ebuild +++ b/sci-libs/scikits_learn/scikits_learn-0.9.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_learn/scikits_learn-0.9.ebuild,v 1.1 2011/11/25 22:13:57 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_learn/scikits_learn-0.9.ebuild,v 1.2 2012/01/04 19:17:08 bicatali Exp $ EAPI="3" +inherit flag-o-matic PYTHON_DEPEND="2" SUPPORT_PYTHON_ABIS="1" @@ -42,6 +43,10 @@ src_prepare() { library_dirs=${EPREFIX}/usr/$(get_libdir) include_dirs=${EPREFIX}/usr/include/ EOF + # bug #397605 + [[ ${CHOST} == *-darwin* ]] \ + && append-ldflags -bundle "-undefined dynamic_lookup" \ + || append-ldflags -shared } src_compile() {