diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2011-04-30 09:50:09 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2011-04-30 09:50:09 +0000 |
commit | f48e4683050b81cf8badc467ba573bf6f9bb4fb7 (patch) | |
tree | 370667697561b163d3538487ba83b7b26dfcb9df /sci-libs | |
parent | Version bump. Fixes bug #360869. Drop old. (diff) | |
download | historical-f48e4683050b81cf8badc467ba573bf6f9bb4fb7.tar.gz historical-f48e4683050b81cf8badc467ba573bf6f9bb4fb7.tar.bz2 historical-f48e4683050b81cf8badc467ba573bf6f9bb4fb7.zip |
Revision bump to make this work with cpp. Add missing include line.
Package-Manager: portage-2.2.0_alpha30/cvs/Linux x86_64
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/clapack/ChangeLog | 10 | ||||
-rw-r--r-- | sci-libs/clapack/Manifest | 20 | ||||
-rw-r--r-- | sci-libs/clapack/clapack-3.2.1-r2.ebuild | 52 | ||||
-rw-r--r-- | sci-libs/clapack/clapack-3.2.1-r4.ebuild (renamed from sci-libs/clapack/clapack-3.2.1-r3.ebuild) | 14 | ||||
-rw-r--r-- | sci-libs/clapack/files/3.2.1-solib.patch | 27 | ||||
-rw-r--r-- | sci-libs/clapack/files/clapack-3.2.1-fix_include_file.patch | 25 | ||||
-rw-r--r-- | sci-libs/clapack/files/clapack-3.2.1-noblasf2c.patch | 2 |
7 files changed, 56 insertions, 94 deletions
diff --git a/sci-libs/clapack/ChangeLog b/sci-libs/clapack/ChangeLog index 6b6c8509d764..ee8e49d3dd00 100644 --- a/sci-libs/clapack/ChangeLog +++ b/sci-libs/clapack/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sci-libs/clapack # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/clapack/ChangeLog,v 1.10 2011/02/11 20:32:58 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/clapack/ChangeLog,v 1.11 2011/04/30 09:50:09 scarabeus Exp $ + +*clapack-3.2.1-r4 (30 Apr 2011) + + 30 Apr 2011; Tomáš Chvátal <scarabeus@gentoo.org> + -files/3.2.1-solib.patch, -clapack-3.2.1-r2.ebuild, -clapack-3.2.1-r3.ebuild, + +clapack-3.2.1-r4.ebuild, +files/clapack-3.2.1-fix_include_file.patch, + files/clapack-3.2.1-noblasf2c.patch: + Revision bump to make this work with cpp. Add missing include line. 11 Feb 2011; Kacper Kowalik <xarthisius@gentoo.org> clapack-3.2.1-r3.ebuild: diff --git a/sci-libs/clapack/Manifest b/sci-libs/clapack/Manifest index 6cab263c0f4a..a8f1577a5603 100644 --- a/sci-libs/clapack/Manifest +++ b/sci-libs/clapack/Manifest @@ -1,8 +1,16 @@ -AUX 3.2.1-solib.patch 844 RMD160 a756639bdf6acdb0f017de592efec88798769155 SHA1 a04f2a910b633f2a5b4e9d1728670486ae8df504 SHA256 da2d1befec291f905c03bd6d73f74f361130ef22ad2629aa5edec8ee5e0d5b53 -AUX clapack-3.2.1-noblasf2c.patch 5839 RMD160 d30ff26a4ac811442d37af80bc6335f942b80505 SHA1 b16b68b076927299c32ec85d74790259d8ffb81f SHA256 cd1807a0d61a1dc51f0ef7d1e46c50c84a60f846ec6dfab380dc568e247ecc07 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX clapack-3.2.1-fix_include_file.patch 689 RMD160 1140593aa3d24e749e86b2c15f01b59512287c02 SHA1 eec4b685ab1b09333e7d5cb5d2d1419815935b9f SHA256 9b6024cecbfb152d910b8fb878db6918704388479876719b43f4378992581603 +AUX clapack-3.2.1-noblasf2c.patch 5841 RMD160 50ca84aad167c389ddd5fe9c760daa5fce6a5082 SHA1 f14ced41155786b90ea8b98f9ab746dc81e8719e SHA256 37525a9099aba9130346abd2b765d05b7164c880a45b0b231b9bedfd63894fc2 DIST clapack-3.2.1-CMAKE.tgz 6017667 RMD160 42af2b40a78b0cc4020a961a2fe0faf73c20560c SHA1 5ea1bcc4314e392bca8b9e5f61d44355cf9f4cc1 SHA256 0b3f782bc24845d85f36bafbff0f2f1384dc72df730fda4e7924ec1a70baca5a -DIST clapack-3.2.1.tgz 7221385 RMD160 5882b199595ae0ce6769cd65cb83cfeb7dcac528 SHA1 fdab49c89a1843643fdfa9121f16361e23711540 SHA256 f1c214f97033deff6e91dee72be56cd14d872a097e35a1ef1beeadaf4e1921bc -EBUILD clapack-3.2.1-r2.ebuild 1544 RMD160 3e61910680dbb57e316705330e796fd1ed456073 SHA1 6117683296ea4136f240930e423d29b0be096ab1 SHA256 8e41637befd64a4678e37261de995efe357121b91686a0378c10c1f45a3ac73f -EBUILD clapack-3.2.1-r3.ebuild 770 RMD160 72d2e792b30db7b8820095d88f9f8f6aa776393f SHA1 269f169309a273228d948fc10e20400616e5e326 SHA256 667d88d56748e8c7635e37ed8c2f4e3feba2ae25f2921a61cd9599ae098de265 -MISC ChangeLog 1896 RMD160 918d0815ea3eebfcfbabbedeb41cd45805346b28 SHA1 93fb5f3213a3ecfe6e8216c1eff973e06a13dbd9 SHA256 54cfa9608eccfd03e7580831a87ca1ac09ed4058b2c5f1ba885406ae49787b3c +EBUILD clapack-3.2.1-r4.ebuild 758 RMD160 e9fbc7623a96c454768e5c3c7feb4cd352d821e9 SHA1 c8b6815878306b1755a4af57de8d3d425f69ed43 SHA256 9f261f591530818cea8c45852264ad060e86b81a791fde20d4d030f7b6f047b4 +MISC ChangeLog 2246 RMD160 1e6c72e743e82ce2fc04323751f98d4ea2b63957 SHA1 a2d05f67a5ec2a4dbab47091b3f93607be7a0399 SHA256 5b10b86bd5f6841162aa3642f797f154006054348d1aa304cf221ee32d6a71a7 MISC metadata.xml 581 RMD160 aa5fd2f24c925ba53410c2a6b2b9e357a79a5e22 SHA1 6d88ecc9bfaa1d1711cfb76d307b41b0ccd5f429 SHA256 c7fdad96aad5a3bbb64f5ea60fbacfa7cf51175b32a3c8c187df749a6206e393 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iEYEARECAAYFAk2720cACgkQHB6c3gNBRYf5OQCgwbmaXeg8ta5AoctjJdTCw95N +odUAn0ocl4TwS1GNe+jiSCSaIH2ZWx++ +=Zpy6 +-----END PGP SIGNATURE----- diff --git a/sci-libs/clapack/clapack-3.2.1-r2.ebuild b/sci-libs/clapack/clapack-3.2.1-r2.ebuild deleted file mode 100644 index a1b55e57a7ae..000000000000 --- a/sci-libs/clapack/clapack-3.2.1-r2.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/clapack/clapack-3.2.1-r2.ebuild,v 1.1 2010/04/25 09:40:16 jlec Exp $ - -EAPI="3" - -inherit eutils multilib toolchain-funcs versionator - -DESCRIPTION="f2c'ed version of LAPACK" -HOMEPAGE="http://www.netlib.org/clapack/" -SRC_URI="http://www.netlib.org/${PN}/${P}.tgz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND=">=dev-libs/libf2c-20081126[static-libs]" -DEPEND="${RDEPEND}" -S="${WORKDIR}"/CLAPACK-${PV} - -src_prepare() { - rm -rf F2CLIBS BLAS - - epatch "${FILESDIR}"/${PV}-solib.patch - - sed \ - -e "s:^CC.*$:CC = $(tc-getCC):g" \ - -e "s:^CFLAGS.*$:CFLAGS = ${CFLAGS} -fPIC:g" \ - -e "s:^LOADER.*$:LOADER = $(tc-getCC):g" \ - -e "s:^LOADOPTS.*$:LOADOPTS = ${LDFLAGS} -Wl,-soname,libclapack.so.$(get_version_component_range 1-2):g" \ - -e "s:LAPACKLIB.*$:LAPACKLIB = libclapack.so.${PV}:g" \ - make.inc.example > make.inc - - sed \ - -e 's:"f2c.h":<f2c.h>:g' \ - -i SRC/*.c || die -} - -src_compile() { - emake -C INSTALL F2CLIB="${EPREFIX}"/usr/$(get_libdir)/libf2c.a || die "compile failed" - emake -C SRC || die "compile failed" -} - -src_install() { - insinto /usr/include/${PN} - doins INCLUDE/${PN}.h || die - dolib.so lib${PN}.so.${PV} || die - dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so.$(get_version_component_range 1-2) || die - dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so.$(get_major_version) || die - dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so || die -} diff --git a/sci-libs/clapack/clapack-3.2.1-r3.ebuild b/sci-libs/clapack/clapack-3.2.1-r4.ebuild index ffba480b3c12..ed5db6298a09 100644 --- a/sci-libs/clapack/clapack-3.2.1-r3.ebuild +++ b/sci-libs/clapack/clapack-3.2.1-r4.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/clapack/clapack-3.2.1-r3.ebuild,v 1.5 2011/02/11 20:32:58 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/clapack/clapack-3.2.1-r4.ebuild,v 1.1 2011/04/30 09:50:09 scarabeus Exp $ -EAPI="3" +EAPI=4 -inherit eutils cmake-utils +inherit base cmake-utils DESCRIPTION="f2c'ed version of LAPACK" HOMEPAGE="http://www.netlib.org/clapack/" @@ -21,10 +21,10 @@ DEPEND="${RDEPEND}" S=${WORKDIR}/${P}-CMAKE -src_prepare() { - epatch "${FILESDIR}"/${P}-noblasf2c.patch - rm -rf INCLUDE/f2c.h F2CLIBS || die -} +PATCHES=( + "${FILESDIR}/${P}-fix_include_file.patch" + "${FILESDIR}/${P}-noblasf2c.patch" +) src_configure() { local mycmakeargs=( $(cmake-utils_use_enable test TESTS) ) diff --git a/sci-libs/clapack/files/3.2.1-solib.patch b/sci-libs/clapack/files/3.2.1-solib.patch deleted file mode 100644 index c35a5f7a7d7e..000000000000 --- a/sci-libs/clapack/files/3.2.1-solib.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff --git a/SRC/Makefile b/SRC/Makefile -index 47bea67..bc23ad8 100644 ---- a/SRC/Makefile -+++ b/SRC/Makefile -@@ -367,8 +367,7 @@ ALLOBJ=$(SLASRC) $(DLASRC) $(CLASRC) $(ZLASRC) $(SCLAUX) $(DZLAUX) \ - $(ALLAUX) - - ../$(LAPACKLIB): $(ALLOBJ) $(ALLXOBJ) -- $(ARCH) $(ARCHFLAGS) $@ $(ALLOBJ) $(ALLXOBJ) -- $(RANLIB) $@ -+ $(CC) $(LOADOPTS) -shared -o $@ $(ALLOBJ) $(ALLXOBJ) -lf2c - - single: $(SLASRC) $(ALLAUX) $(SCLAUX) - $(ARCH) $(ARCHFLAGS) ../$(LAPACKLIB) $(SLASRC) $(ALLAUX) \ -diff --git a/make.inc.example b/make.inc.example -index 0ac8bbb..5a0eac6 100644 ---- a/make.inc.example -+++ b/make.inc.example -@@ -27,7 +27,7 @@ CC = gcc - CFLAGS = -O3 - LOADER = gcc - LOADOPTS = --NOOPT = -O0 -+NOOPT = -O0 -fPIC - DRVCFLAGS = $(CFLAGS) - F2CCFLAGS = $(CFLAGS) - ####################################################################### diff --git a/sci-libs/clapack/files/clapack-3.2.1-fix_include_file.patch b/sci-libs/clapack/files/clapack-3.2.1-fix_include_file.patch new file mode 100644 index 000000000000..002336f2d124 --- /dev/null +++ b/sci-libs/clapack/files/clapack-3.2.1-fix_include_file.patch @@ -0,0 +1,25 @@ +diff -urN clapack-3.2.1-CMAKE.old/INCLUDE/clapack.h clapack-3.2.1-CMAKE/INCLUDE/clapack.h +--- clapack-3.2.1-CMAKE.old/INCLUDE/clapack.h 2011-04-30 11:39:51.000000000 +0200 ++++ clapack-3.2.1-CMAKE/INCLUDE/clapack.h 2011-04-30 11:40:39.000000000 +0200 +@@ -3,6 +3,12 @@ + #ifndef __CLAPACK_H + #define __CLAPACK_H + ++#include <f2c.h> ++ ++#ifdef __cplusplus ++extern "C" { ++#endif ++ + /* Subroutine */ int caxpy_(integer *n, complex *ca, complex *cx, integer * + incx, complex *cy, integer *incy); + +@@ -7250,5 +7256,8 @@ + integer ilaenv_(integer *ispec, char *name__, char *opts, integer *n1, + integer *n2, integer *n3, integer *n4); + ++#ifdef __cplusplus ++} ++#endif + + #endif /* __CLAPACK_H */ diff --git a/sci-libs/clapack/files/clapack-3.2.1-noblasf2c.patch b/sci-libs/clapack/files/clapack-3.2.1-noblasf2c.patch index 53e358991f7a..5ae9e63977c6 100644 --- a/sci-libs/clapack/files/clapack-3.2.1-noblasf2c.patch +++ b/sci-libs/clapack/files/clapack-3.2.1-noblasf2c.patch @@ -66,7 +66,7 @@ diff -u -r -N clapack-3.2.1-CMAKE.orig/SRC/CMakeLists.txt clapack-3.2.1-CMAKE/SR -target_link_libraries(lapack blas) +add_library(clapack SHARED ${ALLOBJ} ${ALLXOBJ}) -+target_link_libraries(clapack blas f2c) ++target_link_libraries(clapack blas f2c m) +set_target_properties(clapack PROPERTIES SOVERSION "${CLAPACK_VERSION}") + +install( |