diff options
author | Justin Lecher <jlec@gentoo.org> | 2011-06-05 12:19:57 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2011-06-05 12:19:57 +0000 |
commit | 7dcd9e15b10069a001ba23d6e828df09594a060d (patch) | |
tree | 3ae8e07a2d55ddd549ac131ffbdbfe660ff16bee /sci-libs | |
parent | restored lost ~x86-fbsd (we have ghc there now) (diff) | |
download | gentoo-2-7dcd9e15b10069a001ba23d6e828df09594a060d.tar.gz gentoo-2-7dcd9e15b10069a001ba23d6e828df09594a060d.tar.bz2 gentoo-2-7dcd9e15b10069a001ba23d6e828df09594a060d.zip |
Make it gold resistant, #370109
(Portage version: 2.2.0_alpha37/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/dsdp/ChangeLog | 6 | ||||
-rw-r--r-- | sci-libs/dsdp/dsdp-5.8.ebuild | 14 | ||||
-rw-r--r-- | sci-libs/dsdp/files/dsdp-5.8-gold.patch | 13 |
3 files changed, 27 insertions, 6 deletions
diff --git a/sci-libs/dsdp/ChangeLog b/sci-libs/dsdp/ChangeLog index 00add285fd8a..f2c446489eef 100644 --- a/sci-libs/dsdp/ChangeLog +++ b/sci-libs/dsdp/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-libs/dsdp # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/dsdp/ChangeLog,v 1.2 2011/03/14 17:22:50 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/dsdp/ChangeLog,v 1.3 2011/06/05 12:19:57 jlec Exp $ + + 05 Jun 2011; Justin Lecher <jlec@gentoo.org> dsdp-5.8.ebuild, + +files/dsdp-5.8-gold.patch: + Make it gold resistant, #370109 14 Mar 2011; Sébastien Fabbro <bicatali@gentoo.org> dsdp-5.8.ebuild, +files/dsdp-5.8-readsdpa.patch: diff --git a/sci-libs/dsdp/dsdp-5.8.ebuild b/sci-libs/dsdp/dsdp-5.8.ebuild index fc29c136458b..390427d81531 100644 --- a/sci-libs/dsdp/dsdp-5.8.ebuild +++ b/sci-libs/dsdp/dsdp-5.8.ebuild @@ -1,14 +1,16 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/dsdp/dsdp-5.8.ebuild,v 1.2 2011/03/14 17:22:50 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/dsdp/dsdp-5.8.ebuild,v 1.3 2011/06/05 12:19:57 jlec Exp $ + +EAPI=4 -EAPI="4" inherit eutils toolchain-funcs versionator MYP=DSDP${PV} + DESCRIPTION="Software for interior-point for semidefinite programming" -HOMEPAGE="http://www.mcs.anl.gov/hs/software/DSDP" -SRC_URI="${HOMEPAGE}/${MYP}.tar.gz" +HOMEPAGE="http://www.mcs.anl.gov/hs/software/DSDP/" +SRC_URI="http://www.mcs.anl.gov/hs/software/DSDP//${MYP}.tar.gz" LICENSE="BSD" SLOT="0" @@ -31,7 +33,9 @@ make_shared_lib() { } src_prepare() { - epatch "${FILESDIR}"/${P}-readsdpa.patch + epatch \ + "${FILESDIR}"/${P}-readsdpa.patch \ + "${FILESDIR}"/${P}-gold.patch # to do proper parallel compilation find . -name Makefile -exec \ sed -i -e 's:make :$(MAKE) :g' '{}' \; diff --git a/sci-libs/dsdp/files/dsdp-5.8-gold.patch b/sci-libs/dsdp/files/dsdp-5.8-gold.patch new file mode 100644 index 000000000000..ae677820ffc3 --- /dev/null +++ b/sci-libs/dsdp/files/dsdp-5.8-gold.patch @@ -0,0 +1,13 @@ +diff --git a/examples/Makefile b/examples/Makefile +index 8d7d433..11b9c8c 100644 +--- a/examples/Makefile ++++ b/examples/Makefile +@@ -4,7 +4,7 @@ default: + + include ../make.include + +-EXAMPLE_LIBS = ${DSDPLIB} ${LAPACKBLAS} ++EXAMPLE_LIBS = ${DSDPLIB} ${LAPACKBLAS} -lm + + dsdp: exinfo clean + ${MEX} -I${DSDPROOT}/include dsdp.c ${DSDPLIB}; |