aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAstroFloyd <AstroFloyd@gmail.com>2017-06-02 17:26:39 +0200
committerAstroFloyd <AstroFloyd@gmail.com>2017-06-02 17:26:39 +0200
commit70db752d606ac6b28aeae8e73902669318f91d6d (patch)
tree9a78189e877b461dc74dc1823e61b57033510895
parentRemove sci-astronomy/twin from repo (diff)
downloadAstroFloyd-70db752d606ac6b28aeae8e73902669318f91d6d.zip
AstroFloyd-70db752d606ac6b28aeae8e73902669318f91d6d.tar.gz
AstroFloyd-70db752d606ac6b28aeae8e73902669318f91d6d.tar.bz2
sci-libs/fgsl: version/revision bump to v0.9.4-r1
Package-Manager: Portage-2.3.5, Repoman-2.3.1
-rw-r--r--sci-libs/fgsl/ChangeLog12
-rw-r--r--sci-libs/fgsl/Manifest17
-rw-r--r--sci-libs/fgsl/fgsl-0.9.1.ebuild59
-rw-r--r--sci-libs/fgsl/fgsl-0.9.1.ebuild.tar.bz2bin1525 -> 0 bytes
-rw-r--r--sci-libs/fgsl/fgsl-0.9.4-r1.ebuild60
-rw-r--r--sci-libs/fgsl/fgsl-0.9.ebuild59
-rw-r--r--sci-libs/fgsl/fgsl-0.9.ebuild.tar.bz2bin1683 -> 0 bytes
-rw-r--r--sci-libs/fgsl/files/fgsl-0.9-Makefile.patch45
-rw-r--r--sci-libs/fgsl/files/fgsl-0.9-configure.patch22
-rw-r--r--sci-libs/fgsl/files/fgsl-0.9.1-Makefile.patch21
-rw-r--r--sci-libs/fgsl/files/fgsl-0.9.1-configure.patch23
-rw-r--r--sci-libs/fgsl/files/fgsl-0.9.3-sharedlibs.patch27
-rw-r--r--sci-libs/fgsl/metadata.xml3
13 files changed, 103 insertions, 245 deletions
diff --git a/sci-libs/fgsl/ChangeLog b/sci-libs/fgsl/ChangeLog
index a4e8f58..5cfaa81 100644
--- a/sci-libs/fgsl/ChangeLog
+++ b/sci-libs/fgsl/ChangeLog
@@ -1,7 +1,17 @@
# ChangeLog for sci-libs/fgsl
-# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2017 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*fgsl-0.9.4-r1 (02 Jun 2017)
+
+ 02 Jun 2017; AstroFloyd <AstroFloyd@gmail.com> -fgsl-0.9.ebuild,
+ -fgsl-0.9.1.ebuild, +fgsl-0.9.4-r1.ebuild, -files/fgsl-0.9.1-Makefile.patch,
+ -files/fgsl-0.9.1-configure.patch, -fgsl-0.9.1.ebuild.tar.bz2,
+ +files/fgsl-0.9.3-sharedlibs.patch, -files/fgsl-0.9-Makefile.patch,
+ -files/fgsl-0.9-configure.patch, -fgsl-0.9.ebuild.tar.bz2, metadata.xml:
+ Version/revision bump: take v0.9.4 from Science and update download link for
+ -r1
+
05 Nov 2016; AstroFloyd <AstroFloyd@gmail.com> fgsl-0.9.ebuild,
fgsl-0.9.1.ebuild:
Fix ebuilds: remove use() statement from global scope
diff --git a/sci-libs/fgsl/Manifest b/sci-libs/fgsl/Manifest
index 2c9c58b..99794b3 100644
--- a/sci-libs/fgsl/Manifest
+++ b/sci-libs/fgsl/Manifest
@@ -1,12 +1,5 @@
-AUX fgsl-0.9-Makefile.patch 1313 SHA256 f68dc4fbf707600de8ab445ebddc9725b645499fff4e6398f364f7858c1401be SHA512 f70077b0f84bbd36be241f084c7f524f466cbc9261dfc0f4df6f65443da4b866b59c026a16007fcf6fab6f1509300cba35989cf143c48b3e84afecc38cf6ae25 WHIRLPOOL 2b5ca82ebd8b6fb965700206293a7e544070396de1c70009365f3c6cdc9d9e175eefd8cd0b2bd325ecee3310fe4bf6fc6840f459f791cbe7c5f0e1960adf9b82
-AUX fgsl-0.9-configure.patch 446 SHA256 468dbbc4aed9f66a91c3c841e322c017bee5ba4fce8109eb6985431f077fb920 SHA512 2b09ed1ea9d7fb8d30e4153e6b7ffaaa8bf420f373c3386914d8110bc83f1f9be5a6e857c3cbbad318e11cb1758278f581f1e2b40d1eb0d94955868532b1d34e WHIRLPOOL de331eef2766964263981e72a0f9e55eb50ae1ea01937d7c3c76d566b36fd2a9ab340c13dc1c6f5f6473f744ea4ed334aad2cd3aa7dda30d3175b8bcedc4db9a
-AUX fgsl-0.9.1-Makefile.patch 795 SHA256 01c2782e6f4ec98699ec2a0674e89f147a63ee519a513242c75c52c84bf8da01 SHA512 e959041002ae1d61747e63e18ed052239aedf92b1418c38cab9d19b93110950682fb981065377636a55b64dba03ff5bb40b215a8848d0772e52b012dd1e7e2ca WHIRLPOOL a488cc1dd01e3c80ee4987b59a9d5a7a40bc4987819ecd9b1ffd410ccde7bf0d6ade44c4ca3687362c255c3f6895fc14277697d99c4c0f89e75dce64e99f0f68
-AUX fgsl-0.9.1-configure.patch 474 SHA256 ca4f04dc8adfea61276d507240d89d59b5c636f8943720feff254c9a882c7200 SHA512 a60dffb7ccfd76c615d6825c977933f325af5540532ed632937b232a0a8da7fe0d2f2fe097016d5c8a07689d23c734de0a30185f75d7d9131863009952de683e WHIRLPOOL ccdaff54e67f340d17547607b1ea5d00bff050db1881184bb097274793b616ae3f0e255aee46d5d3a8061e100701d45f08a88167ede6aba65388d82e832542a0
-DIST fgsl-0.9.1.tar.gz 289994 SHA256 ba14fdddcfc0f960308a208849f9315ace5dca64afd25c3072a8daf6e057cf1a SHA512 799f66a164c8d27ad991a4e33bfdd268c8d769399bc50896fcbba0ba7d95d32aa437ff76553b3209ecae850b9292827d56c307cd30e71f523d1bc3f7c60bd38d WHIRLPOOL 0f49912ecb98a0ae3d2d0f08833de0cc2f93bfafa505497dd264d9bbaabf976646953d775c32421c40ede8c05edf68314cddce2b7ec17bda27021c5824adfdf7
-DIST fgsl-0.9.tar.gz 286033 SHA256 a4961bdccb9e0c353ed11bb009d46e0e941f7586621da6100d7303605e9d6795
-EBUILD fgsl-0.9.1.ebuild 1419 SHA256 80225e3a92f625ad78d877170baf1eb9dcd3f7c1858c35ccd132c87a8cafe460 SHA512 723f3e81d760bebcfc74a36a362b331892001b7e510a037b5522ef2b4f6fff5d0228c045ccf84c3f2acdf8a5f19de255b30971b4dd053f5b64102dfcc17913bf WHIRLPOOL d27e426a1306fe89b10db39cac462ed37124c86263278f75bbe9b847330bf9f4cb278c6a7da190872214de8e94d7449d55e7260e06558abaf975c8d7e82a5d10
-EBUILD fgsl-0.9.ebuild 1419 SHA256 80225e3a92f625ad78d877170baf1eb9dcd3f7c1858c35ccd132c87a8cafe460 SHA512 723f3e81d760bebcfc74a36a362b331892001b7e510a037b5522ef2b4f6fff5d0228c045ccf84c3f2acdf8a5f19de255b30971b4dd053f5b64102dfcc17913bf WHIRLPOOL d27e426a1306fe89b10db39cac462ed37124c86263278f75bbe9b847330bf9f4cb278c6a7da190872214de8e94d7449d55e7260e06558abaf975c8d7e82a5d10
-MISC ChangeLog 258 SHA256 71559996ef7e7286267db48cee81b0ab34bae9479fd5367cfe2874a95232a729 SHA512 904701bddd058c735df7b0e526a9e66e9f3ea547ebc43ce00a5528c02a815ec7963e671a3b062eb3fdf901b181735271c83932c4b5e80f3cb74f749916338fe4 WHIRLPOOL 7874d935dfc9b32e6cc3087094243031e06c3617622db919cd01cf2af2ab39030d06ad01e54726c93ca127bd99abc84ca8d5b6cf0a7a14f1eb074e3a4678f0dc
-MISC fgsl-0.9.1.ebuild.tar.bz2 1525 SHA256 562a476860203b4bfa809ed66b5d6c1b2a11d7d677900f656676c287100a33cf SHA512 c0966c8660116820796e8b6c653f02e8b88873fa8a385e712a928966f46f3c6bec7eeb27c1ebeda109b51cb5e01fd6655515c836c20516910e89d551e87bcf29 WHIRLPOOL d415b9eefdd34b7fb3e80bc8a0c597d262e7cb0af176b04f896919e0455b30276ade5d6bb519087cfc9c930a98d8efa72aafab9a939f6cebae3a4b8f20eec41a
-MISC fgsl-0.9.ebuild.tar.bz2 1683 SHA256 f02c32e5f9cef4d145b5d6579b726a241bb60cfb0acecdebfa1e1e536a231e76 SHA512 7b48208c9f71184349823f3489d4fd0e1e06db14552614a9ebe2e96aa30f8872f1e1337f70e503da76f7307686b590a6463888d971d5e65e89afddd71f22933a WHIRLPOOL 41a391a672432c382982bf1022571e92f9ac246110a0fa09c9be95d6e81ec1c2650102b1176e736f8c5518ffe9d1d8b8c73aa2e0d4f31e04e915722fbda60755
-MISC metadata.xml 367 SHA256 7ee6240c9ca7096f888843f71f5b91f4d428f21125b53adde49b003ddc7b1b35 SHA512 158aa59c37b134e971d94ca79a5692d5133d229bf6ed8354089e89449fe36255644f14868959c437103daa54340abbaa38ee27c5fdaecc0b3d61afcae3428020 WHIRLPOOL f2c45903f9ecf243caa06ccdd2c4941e8b30bfaec3575e24a02d8970cbd2143112998d70fd1859720fad055b23cf9d4324c11400e5bbd75462d713a967369d77
+AUX fgsl-0.9.3-sharedlibs.patch 726 SHA256 1c4a1bfb406e624f716c56c30345c56a49657148a10ce07ed573e0aed4e22ac3 SHA512 d8ddf2ebb436c665d6d3feff52e7527773712dfa37e1632cc8a3a44f0c207f68acd759cd8f21d655992f49e31c0f1a16dcaa481913fc95b25393ba6bb44d4b4b WHIRLPOOL 14b62d8e7315e79578ea337dbe742d22a9891858d24fdbfcdce35893cee20906f508d109c4c8458713c67a930ebf07d8a980b1eb0227e39f3c3964b9c1acb200
+DIST fgsl-0.9.4.tar.gz 999825 SHA256 f589283f5b9df5df9ef39b108114df2ed740109fabb8956fe98eaaac20924ba7 SHA512 45186a17d2b7e46968a29e99cbb1c7bb4cb22c14b322337e0166ee2e05e6bd63f709d6da566c30e7b350231dff268e65908e542288bdec7ca88ff1cb505eae3e WHIRLPOOL 3c6e2c1221b1e5f8aeee83b78951c2d777550401c41c416d4dd911e946b6f03fd4f2ede6df7c123f59ada9477e3c6cd05b202d2f0e8c121cedf250001610deb8
+EBUILD fgsl-0.9.4-r1.ebuild 1406 SHA256 7d3b2317a9df41a864215fee08ab2c2444797f2e9273a40162d6a78d8da1ac5f SHA512 efa88fec8e490b1c7b2d04fb0b23cbf4c5f16f3d77e81d4ae47af90fa518fda8f9f31b359a88658e02df853656e362d17eb1c620b2a97f6aea6e10104b9e3364 WHIRLPOOL b7d2af481cbcec7c12ee0d9a765132daa192d299a5a2f3cfbd717b2e0d770ca098364b1fee4dff8022231bf814d8f653c055c220d84cbdb6175b1819192a8f05
+MISC ChangeLog 730 SHA256 573df31106023a599764ab5c3c2ec79a6b5279808a80e56de0108f9c7a2ce47d SHA512 967f9cfce96490a33067165b3d872235cce3550c1547e6eee3d5ef85cd4a7b62cbb6b109bc53e323982aa6bbfba4c71f75051c8288a8c3443f23d876936e6728 WHIRLPOOL 6c0c0087d3dd3be3112e04686744c1bb5bf099500122a9eeaad40194b6d79011cbf2b08667268281925c1f612729383d4c9b793ee8581685fae6da74d469b9a8
+MISC metadata.xml 252 SHA256 fa82c8f8ccb7949415fff69cab33850a03547531946e14a4184f1ecda61abf26 SHA512 163d2b3a3faf9e2897150626ba1b1dcf37787379284e0222dd667c03c1fce18ac5e63489ea2674e9b3c5328e5aa636839becdfa8d0dd2b49ffd77019deb88729 WHIRLPOOL 253b5757951fa6a61178c61d6333a21e90ab81cd6167bc6cfa6032e7f9e3304a9afa8290a3b6607994df74f2bd503d3725e173b9beff10555d395eb74844fc1a
diff --git a/sci-libs/fgsl/fgsl-0.9.1.ebuild b/sci-libs/fgsl/fgsl-0.9.1.ebuild
deleted file mode 100644
index e2dca30..0000000
--- a/sci-libs/fgsl/fgsl-0.9.1.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-inherit eutils
-
-DESCRIPTION="A Fortran interface to the GNU Scientific Library"
-HOMEPAGE="http://www.lrz-muenchen.de/services/software/mathematik/gsl/fortran/"
-SRC_URI="http://www.lrz-muenchen.de/services/software/mathematik/gsl/fortran/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-#KEYWORDS="~amd64 ~x86"
-KEYWORDS="~x86" # ifc can't have ~amd64 keyword?
-#IUSE="gfortran ifort" #Compiler gfortran does not (properly) support ISO_C_BINDING
-IUSE="ifort"
-
-DEPEND=">=sci-libs/gsl-1.10
- ifort? ( >=dev-lang/ifc-10.0.026-r1 )"
-RDEPEND=${DEPEND}
-
-DESTDIR="/usr"
-
-src_unpack() {
- unpack ${A}
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-configure.patch #Allows the use of econf
- epatch "${FILESDIR}"/${P}-Makefile.patch #Makes make more verbose
-}
-
-src_compile() {
- BITS="32"
- if use amd64; then
- BITS="64"
- fi
-
- if use ifort; then
- econf --prefix ${DESTDIR} --gsl ${DESTDIR} --f90 ifort --bits ${BITS}
- #elif use gfortran; then
- # econf --prefix ${DESTDIR} --gsl ${DESTDIR} --f90 gfortran --bits ${BITS}
- else
- die " You must select at least one Fortran compiler in your use flags"
- fi
-
- emake || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}${DESTDIR}" install || die "install failed"
- dodoc README || die
-}
-
-pkg_config()
-{
- eerror "This ebuild does not have a config function."
-}
diff --git a/sci-libs/fgsl/fgsl-0.9.1.ebuild.tar.bz2 b/sci-libs/fgsl/fgsl-0.9.1.ebuild.tar.bz2
deleted file mode 100644
index 2aa895b..0000000
--- a/sci-libs/fgsl/fgsl-0.9.1.ebuild.tar.bz2
+++ /dev/null
Binary files differ
diff --git a/sci-libs/fgsl/fgsl-0.9.4-r1.ebuild b/sci-libs/fgsl/fgsl-0.9.4-r1.ebuild
new file mode 100644
index 0000000..5594e68
--- /dev/null
+++ b/sci-libs/fgsl/fgsl-0.9.4-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils fortran-2 multilib toolchain-funcs
+
+DESCRIPTION="A Fortran interface to the GNU Scientific Library"
+HOMEPAGE="http://www.lrz.de/services/software/mathematik/gsl/fortran/"
+SRC_URI="http://www.lrz.de/services/software/mathematik/gsl/fortran/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~amd64-linux"
+IUSE="static-libs"
+
+RDEPEND=">=sci-libs/gsl-1.14"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+#TODO: make docs
+
+FORTRAN_STANDARD=90
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.9.3-sharedlibs.patch
+ if use amd64; then
+ ln -s interface/integer_ilp64.finc integer.finc || die
+ elif use x86; then
+ ln -s interface/integer_ilp32.finc integer.finc || die
+ else
+ die "Don't know who you are"
+ fi
+
+ cat <<- EOF > "${S}/make.inc"
+ F90 = $(tc-getFC)
+ CC = $(tc-getCC)
+ GSL_LIB = $($(tc-getPKG_CONFIG) --libs gsl)
+ GSL_INC = $($(tc-getPKG_CONFIG) --cflags gsl)
+ PREFIX = /usr
+ ARFLAGS = -csrv
+ FPP = -cpp
+ LIB = $(get_libdir)
+ EOF
+
+ use static-libs && echo "STATIC_LIBS = yes" >> "${S}/make.inc"
+}
+
+src_configure() {
+:
+}
+
+src_install() {
+ dodoc NEWS README
+ ln -s lib${PN}.so.0.0.0 lib${PN}.so.0 || die
+ ln -s lib${PN}.so.0.0.0 lib${PN}.so || die
+ dolib.so lib${PN}.so*
+ doheader ${PN}.mod
+ use static-libs && \
+ newlib.a lib${PN}_$(tc-getFC).a lib${PN}.a
+}
diff --git a/sci-libs/fgsl/fgsl-0.9.ebuild b/sci-libs/fgsl/fgsl-0.9.ebuild
deleted file mode 100644
index e2dca30..0000000
--- a/sci-libs/fgsl/fgsl-0.9.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-inherit eutils
-
-DESCRIPTION="A Fortran interface to the GNU Scientific Library"
-HOMEPAGE="http://www.lrz-muenchen.de/services/software/mathematik/gsl/fortran/"
-SRC_URI="http://www.lrz-muenchen.de/services/software/mathematik/gsl/fortran/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-#KEYWORDS="~amd64 ~x86"
-KEYWORDS="~x86" # ifc can't have ~amd64 keyword?
-#IUSE="gfortran ifort" #Compiler gfortran does not (properly) support ISO_C_BINDING
-IUSE="ifort"
-
-DEPEND=">=sci-libs/gsl-1.10
- ifort? ( >=dev-lang/ifc-10.0.026-r1 )"
-RDEPEND=${DEPEND}
-
-DESTDIR="/usr"
-
-src_unpack() {
- unpack ${A}
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-configure.patch #Allows the use of econf
- epatch "${FILESDIR}"/${P}-Makefile.patch #Makes make more verbose
-}
-
-src_compile() {
- BITS="32"
- if use amd64; then
- BITS="64"
- fi
-
- if use ifort; then
- econf --prefix ${DESTDIR} --gsl ${DESTDIR} --f90 ifort --bits ${BITS}
- #elif use gfortran; then
- # econf --prefix ${DESTDIR} --gsl ${DESTDIR} --f90 gfortran --bits ${BITS}
- else
- die " You must select at least one Fortran compiler in your use flags"
- fi
-
- emake || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}${DESTDIR}" install || die "install failed"
- dodoc README || die
-}
-
-pkg_config()
-{
- eerror "This ebuild does not have a config function."
-}
diff --git a/sci-libs/fgsl/fgsl-0.9.ebuild.tar.bz2 b/sci-libs/fgsl/fgsl-0.9.ebuild.tar.bz2
deleted file mode 100644
index 8f1ccea..0000000
--- a/sci-libs/fgsl/fgsl-0.9.ebuild.tar.bz2
+++ /dev/null
Binary files differ
diff --git a/sci-libs/fgsl/files/fgsl-0.9-Makefile.patch b/sci-libs/fgsl/files/fgsl-0.9-Makefile.patch
deleted file mode 100644
index 417b2ee..0000000
--- a/sci-libs/fgsl/files/fgsl-0.9-Makefile.patch
+++ /dev/null
@@ -1,45 +0,0 @@
---- Makefile 2009-05-16 18:07:01.000000000 -0500
-+++ Makefile.new 2009-05-16 20:12:11.000000000 -0500
-@@ -11,31 +11,31 @@
- endif
-
- test : lib
-- @cd tests; $(MAKE) clean; $(MAKE) -j 8 run
-+ cd tests; $(MAKE) clean; $(MAKE) -j 8 run
-
-
- lib : libfgsl_$(F90).a
-
- libfgsl_$(F90).a : fgsl.o fgsl_utils.o
-- @ar $(ARFLAGS) libfgsl_$(F90).a $^
-+ ar $(ARFLAGS) libfgsl_$(F90).a $^
- @echo "Build complete"
-
- fgsl.o : fgsl.f90 api/*.finc interface/*.finc
-- @$(F90) $(FFLAGS) -c fgsl.f90
-+ $(F90) $(FFLAGS) -c fgsl.f90
-
- %.o : %.f90
-- @$(F90) $(FFLAGS) -c -o $@ $^
-+ $(F90) $(FFLAGS) -c -o $@ $^
-
- %.o : %.c
-- @$(CC) -c $(GSL_INC) $(CFLAGS) -o $@ $^
-+ $(CC) -c $(GSL_INC) $(CFLAGS) -o $@ $^
-
- install : lib
-- mkdir -p $(PREFIX)
-- cp -p libfgsl_$(F90).a $(PREFIX)/$(LIB)
-- chmod ugo+r $(PREFIX)/$(LIB)/libfgsl_$(F90).a
-- mkdir -p $(PREFIX)/include/$(F90)
-- cp -p fgsl.mod $(PREFIX)/include/$(F90)
-- chmod ugo+r $(PREFIX)/include/$(F90)/fgsl.mod
-+ mkdir -p $(DESTDIR)$(VENDORPREFIX)/$(LIB)
-+ cp -p libfgsl_$(F90).a $(DESTDIR)$(VENDORPREFIX)/$(LIB)
-+ chmod ugo+r $(DESTDIR)$(VENDORPREFIX)/$(LIB)/libfgsl_$(F90).a
-+ mkdir -p $(DESTDIR)$(VENDORPREFIX)/include
-+ cp -p fgsl.mod $(DESTDIR)$(VENDORPREFIX)/include/fgsl_$(F90).mod
-+ chmod ugo+r $(DESTDIR)$(VENDORPREFIX)/include/fgsl_$(F90).mod
-
- doc :
- cd doc; $(MAKE)
diff --git a/sci-libs/fgsl/files/fgsl-0.9-configure.patch b/sci-libs/fgsl/files/fgsl-0.9-configure.patch
deleted file mode 100644
index c490155..0000000
--- a/sci-libs/fgsl/files/fgsl-0.9-configure.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- configure 2008-08-31 20:37:23.000000000 +0200
-+++ configure.new 2009-09-19 14:31:14.612919757 +0200
-@@ -53,8 +53,9 @@
- exit 0
- ;;
- * )
-- usage
-- exit 1
-+ # The next two lines were commented out by the Gentoo ebuild to allow the default flags from econf:
-+ #usage
-+ #exit 1
- ;;
- esac
- shift
-@@ -266,6 +267,7 @@
- FPP=-fpp
- ;;
- ifort)
-+ FFLAGS="$FFLAGS -vec-report0"
- FPP=-fpp
- ;;
- pgf90)
diff --git a/sci-libs/fgsl/files/fgsl-0.9.1-Makefile.patch b/sci-libs/fgsl/files/fgsl-0.9.1-Makefile.patch
deleted file mode 100644
index 9cbd168..0000000
--- a/sci-libs/fgsl/files/fgsl-0.9.1-Makefile.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- Makefile 2009-09-05 17:33:56.000000000 +0200
-+++ Makefile.new 2009-09-19 17:00:50.421910947 +0200
-@@ -30,12 +30,12 @@
- $(CC) -c $(GSL_INC) $(CFLAGS) $(CDEBUG) -o $@ $^
-
- install : lib
-- mkdir -p $(PREFIX)
-- cp -p libfgsl_$(F90).a $(PREFIX)/$(LIB)
-- chmod ugo+r $(PREFIX)/$(LIB)/libfgsl_$(F90).a
-- mkdir -p $(PREFIX)/include/$(F90)
-- cp -p fgsl.mod $(PREFIX)/include/$(F90)
-- chmod ugo+r $(PREFIX)/include/$(F90)/fgsl.mod
-+ mkdir -p $(DESTDIR)$(VENDORPREFIX)/$(LIB)
-+ cp -p libfgsl_$(F90).a $(DESTDIR)$(VENDORPREFIX)/$(LIB)
-+ chmod ugo+r $(DESTDIR)$(VENDORPREFIX)/$(LIB)/libfgsl_$(F90).a
-+ mkdir -p $(DESTDIR)$(VENDORPREFIX)/include/$(F90)
-+ cp -p fgsl.mod $(DESTDIR)$(VENDORPREFIX)/include/$(F90)
-+ chmod ugo+r $(DESTDIR)$(VENDORPREFIX)/include/$(F90)/fgsl.mod
-
- doc :
- cd doc; $(MAKE)
diff --git a/sci-libs/fgsl/files/fgsl-0.9.1-configure.patch b/sci-libs/fgsl/files/fgsl-0.9.1-configure.patch
deleted file mode 100644
index 3a65b63..0000000
--- a/sci-libs/fgsl/files/fgsl-0.9.1-configure.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- configure 2009-09-05 17:33:56.000000000 +0200
-+++ configure.new 2009-09-19 16:46:10.966008667 +0200
-@@ -59,8 +59,9 @@
- exit 0
- ;;
- * )
-- usage
-- exit 1
-+ #The next two lines were commented out by the Gentoo ebuild to allow the default flags from econf:
-+ #usage
-+ #exit 1
- ;;
- esac
- shift
-@@ -282,7 +283,7 @@
- FPP=-fpp
- ;;
- ifort)
-- FFLAGS="$FFLAGS"
-+ FFLAGS="$FFLAGS -vec-report0"
- FPP=-fpp
- DEB="-g -check all"
- ;;
diff --git a/sci-libs/fgsl/files/fgsl-0.9.3-sharedlibs.patch b/sci-libs/fgsl/files/fgsl-0.9.3-sharedlibs.patch
new file mode 100644
index 0000000..401d750
--- /dev/null
+++ b/sci-libs/fgsl/files/fgsl-0.9.3-sharedlibs.patch
@@ -0,0 +1,27 @@
+--- Makefile.orig 2010-05-01 23:35:17.000000000 +0200
++++ Makefile 2010-08-17 10:15:38.117694977 +0200
+@@ -14,7 +14,23 @@
+ @cd tests; $(MAKE) clean; $(MAKE) -j 8 run
+
+
+-lib : libfgsl_$(F90).a
++ifeq ($(STATIC_LIBS),)
++lib : libfgsl.so.0.0.0
++else
++lib : libfgsl_$(F90).a libfgsl.so.0.0.0
++endif
++
++libfgsl.so.0.0.0: fgsl.lo fgsl_utils.lo
++ $(F90) -shared $(LDFLAGS) -Wl,-soname,libfgsl.so.0 -o $@ $^ $(GSL_LIB)
++
++fgsl.lo : fgsl.f90 api/*.finc interface/*.finc
++ $(F90) -fPIC $(FFLAGS) $(DEBUG) -c fgsl.f90 -o $@
++
++%.lo: %.f90
++ $(F90) -fPIC $(FFLAGS) $(DEBUG) -c -o $@ $^
++
++%.lo: %.c
++ $(CC) -fPIC -c $(GSL_INC) $(CFLAGS) $(CDEBUG) -o $@ $^
+
+ libfgsl_$(F90).a : fgsl.o fgsl_utils.o
+ ar $(ARFLAGS) libfgsl_$(F90).a $^
diff --git a/sci-libs/fgsl/metadata.xml b/sci-libs/fgsl/metadata.xml
index f2c44ca..ae34b4d 100644
--- a/sci-libs/fgsl/metadata.xml
+++ b/sci-libs/fgsl/metadata.xml
@@ -5,7 +5,4 @@
<email>AstroFloyd@gmail.com</email>
<name>AstroFloyd</name>
</maintainer>
- <use>
- <flag name='ifort'>Adds support for the Intel Fortran compiler <pkg>dev-lang/ifc</pkg></flag>
- </use>
</pkgmetadata>