diff options
author | Justin Lecher (jlec) <jlec@j-schmitz.net> | 2009-03-25 14:54:16 +0100 |
---|---|---|
committer | Justin Lecher (jlec) <jlec@j-schmitz.net> | 2009-03-25 14:54:16 +0100 |
commit | 25d4470fc06403b96309f588010764e6d0b3a776 (patch) | |
tree | 34548968e41b837c3b33eed17b820cb4e2509d11 | |
parent | sci-chemistry/ambertools added (diff) | |
download | sci-25d4470fc06403b96309f588010764e6d0b3a776.tar.gz sci-25d4470fc06403b96309f588010764e6d0b3a776.tar.bz2 sci-25d4470fc06403b96309f588010764e6d0b3a776.zip |
dev-libs/libf2c version bump
-rw-r--r-- | dev-libs/libf2c/.svn/entries | 28 | ||||
-rw-r--r-- | dev-libs/libf2c/.svn/format | 1 | ||||
-rw-r--r-- | dev-libs/libf2c/ChangeLog | 111 | ||||
-rw-r--r-- | dev-libs/libf2c/Manifest | 6 | ||||
-rw-r--r-- | dev-libs/libf2c/files/20051004-add-ofiles-dep.patch | 14 | ||||
-rw-r--r-- | dev-libs/libf2c/files/20081126-link-shared-libf2c-correctly.patch | 11 | ||||
-rw-r--r-- | dev-libs/libf2c/libf2c-20081126.ebuild | 57 | ||||
-rw-r--r-- | dev-libs/libf2c/metadata.xml | 5 |
8 files changed, 233 insertions, 0 deletions
diff --git a/dev-libs/libf2c/.svn/entries b/dev-libs/libf2c/.svn/entries new file mode 100644 index 000000000..1cfb08575 --- /dev/null +++ b/dev-libs/libf2c/.svn/entries @@ -0,0 +1,28 @@ +9 + +dir +0 +svn+ssh://svn.j-schmitz.net/svn/portage-overlay/ebuilds/dev-libs/libf2c +svn+ssh://svn.j-schmitz.net/svn/portage-overlay +add + + + + + + + +svn:special svn:externals svn:needs-lock + + + + + + + + + + + +848b6a78-a7b0-4e08-a36b-699b422dbac5 + diff --git a/dev-libs/libf2c/.svn/format b/dev-libs/libf2c/.svn/format new file mode 100644 index 000000000..ec635144f --- /dev/null +++ b/dev-libs/libf2c/.svn/format @@ -0,0 +1 @@ +9 diff --git a/dev-libs/libf2c/ChangeLog b/dev-libs/libf2c/ChangeLog new file mode 100644 index 000000000..fdd8ca164 --- /dev/null +++ b/dev-libs/libf2c/ChangeLog @@ -0,0 +1,111 @@ +# ChangeLog for dev-libs/libf2c +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libf2c/ChangeLog,v 1.31 2008/11/26 16:43:36 ranger Exp $ + + 26 Nov 2008; Brent Baude <ranger@gentoo.org> libf2c-20070912.ebuild: + stable ppc64, bug 245830 + + 14 Nov 2008; Raúl Porcel <armin76@gentoo.org> libf2c-20070912.ebuild: + alpha/sparc stable wrt #245830 + + 08 Nov 2008; Markus Meier <maekke@gentoo.org> libf2c-20070912.ebuild: + amd64/x86 stable, bug #245830 + + 08 Nov 2008; nixnut <nixnut@gentoo.org> libf2c-20070912.ebuild: + Stable on ppc wrt bug 245830 + + 06 Nov 2008; Sébastien Fabbro <bicatali@gentoo.org> + files/20070912-link-shared-libf2c-correctly.patch, libf2c-20070912.ebuild: + Really including soname into shared library + + 08 Jul 2008; Donnie Berkholz <dberkholz@gentoo.org>; + libf2c-20070912.ebuild: + Explicitly specify RDEPEND so unzip doesn't get sucked into it (Sébastien + Fabbro). + + 08 Jul 2008; Donnie Berkholz <dberkholz@gentoo.org>; + libf2c-20070912.ebuild: + Fix minor syntax errors. + +*libf2c-20070912 (08 Jul 2008) + + 08 Jul 2008; Donnie Berkholz <dberkholz@gentoo.org>; + +files/20070912-link-shared-libf2c-correctly.patch, + +libf2c-20070912.ebuild: + Bump to latest upstream code. (#164397) Provide SONAME in libf2c.so. Also + links libf2c with libm so we don't get any undefined symbols. + + 25 Dec 2007; Christian Heim <phreak@gentoo.org> metadata.xml: + Removing kugelfang from metadata.xml as per #46972. + + 23 Aug 2007; Roy Marples <uberlord@gentoo.org> libf2c-20051004.ebuild: + Keyworded ~x86-fbsd. + + 22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog: + Transition to Manifest2. + +*libf2c-20051004 (14 May 2006) + + 14 May 2006; Donnie Berkholz <spyderous@gentoo.org>; + +files/20051004-add-ofiles-dep.patch, +libf2c-20051004.ebuild: + Bump. Changes: Work correctly when writing to a file after reading from it; + Add libf2c.so makefile rule; Stop forcing the rounding precision on x86 + (only affects use of 'f2c -trapuv'). Also, mirror a versioned zip file + instead of the unversioned upstream one. + + 10 Sep 2005; Aron Griffis <agriffis@gentoo.org> libf2c-20021004-r1.ebuild: + Mark 20021004-r1 stable on alpha + + 15 May 2005; Danny van Dyk <kugelfang@gentoo.org> + libf2c-20021004-r1.ebuild: + Inherits toolchain-funcs now instead of deprecated gcc eclass. + + 05 May 2005; Danny van Dyk <kugelfang@gentoo.org> + libf2c-20021004-r1.ebuild, -libf2c-20021004.ebuild: + Removed libf2c-20021004. Fixed DEPEND in -r1, (thx to Jeremy Warren). + + 17 Feb 2005; Bryan Østergaard <kloeri@gentoo.org> + libf2c-20021004-r1.ebuild: + ~alpha keyword. + + 10 Jan 2005; Markus Rothe <corsair@gentoo.org> libf2c-20021004-r1.ebuild: + Stable on ppc64 + + 09 Sep 2004; Philippe Trottier <tchiwam@gentoo.org> libf2c-20021004-r1.ebuild: + Marked ~ppc64 + + 06 Aug 2004; Ferris McCormick <fmccor@gentoo.org> libf2c-20021004-r1.ebuild: + Stable for sparc (part of bug 55386). + + 06 Aug 2004; Danny van Dyk <kugelfang@gentoo.org> libf2c-20021004-r1.ebuild: + Marked stable on amd64, ppc and x86. + + 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> + libf2c-20021004-r1.ebuild, libf2c-20021004.ebuild: + virtual/glibc -> virtual/libc + + 01 Jul 2004; Danny van Dyk <kugelfang@gentoo.org> libf2c-20021004-r1.ebuild: + Marked ~sparc on behalf of ciaranm. + + 01 Jul 2004; David Holm <dholm@gentoo.org> libf2c-20021004-r1.ebuild: + Added to ~ppc. + +*libf2c-20021004-r1 (01 Jul 2004) + + 01 Jul 2004; Danny van Dyk <kugelfang@gentoo.org> + +files/libf2c-20021004-shared-object.patch, +libf2c-20021004-r1.ebuild: + Patched the makefile.u to produce a shared object with -fPIC. (see BUG #55386) + + 07 Apr 2004; Travis Tilley <lv@gentoo.org> libf2c-20021004.ebuild: + added ~amd64 to keywords + + 07 Jul 2003; Michael Sterrett <msterret@gentoo.org> libf2c-20021004.ebuild: + more error checking + + 02 Nov 2002; Hannes Mehnert <hannes@gentoo.org> libf2c-20021004.ebuild: + marked stable for x86 + +*libf2c-20021004 (28 Oct 2002) + + 28 Oct 2002; Hannes Mehnert <hannes@gentoo.org> libf2c-20021004.ebuild, + ChangeLog: Initial ebuild. Thanks to a-tenderholt@northwestern.edu. diff --git a/dev-libs/libf2c/Manifest b/dev-libs/libf2c/Manifest new file mode 100644 index 000000000..8f01f492b --- /dev/null +++ b/dev-libs/libf2c/Manifest @@ -0,0 +1,6 @@ +AUX 20051004-add-ofiles-dep.patch 439 RMD160 c4ca7645c0df795c8cc9be31cb6e9704a9b6285a SHA1 4453a9f1e4d59e87cd4a1a0ef1bc780bca6917d0 SHA256 3f688297b45515c1e386bb7f94ad36bf0f6a3497a0baff759b54d943cbec7d8f +AUX 20081126-link-shared-libf2c-correctly.patch 407 RMD160 d7955686e771301b4db71b0bab413fd41ac3e186 SHA1 4cd7601de5bccf4065061ce3b57b66af9b0fb0dd SHA256 93d231f3ec3ee24b7fd4ca360d2f2495ae60ad3591efde5acc3cf430f7681d08 +DIST libf2c-20081126.zip 128822 RMD160 090023bc8cb548d1f1ed9684d22e30c01293a4d5 SHA1 786a282571ffb9ade10e63ceff80ca33d452c821 SHA256 5b3503d1560f0f12649baa94ad5ce8ff7e363ca3507c10bfc4afc8cfdb07fe92 +EBUILD libf2c-20081126.ebuild 1375 RMD160 3d9c6f191f4fa70e8b04147c7712cb3972cb9ea6 SHA1 6c91fae402c011541849c32b567217e76d5ca5a7 SHA256 0b66c57415ca3c77bb7bda7f2e802c01570267f78158cd5917f9c1e7bd96a50a +MISC ChangeLog 4148 RMD160 69cadafa5570b9a9dd040f0bed31186e17d3ce40 SHA1 c48c3180c3f0b032652435cd85c5202a80807c35 SHA256 a3526eff7a5164ce7242513a7a63278f7f8fcb059cbca060b7d621f83410f526 +MISC metadata.xml 157 RMD160 ed43b99e7bf8bbf62cf4e46152138ab42d3a88c5 SHA1 2182a6de0b10959aad51af2990f1a6c69e34dd97 SHA256 750cb9e46ac2b77e1adf73de43c186a8c2d2234a9c6a89d9358d0969dc5cf8ac diff --git a/dev-libs/libf2c/files/20051004-add-ofiles-dep.patch b/dev-libs/libf2c/files/20051004-add-ofiles-dep.patch new file mode 100644 index 000000000..509726820 --- /dev/null +++ b/dev-libs/libf2c/files/20051004-add-ofiles-dep.patch @@ -0,0 +1,14 @@ +diff -urN libf2c.orig/makefile.u libf2c/makefile.u +--- libf2c.orig/makefile.u 2006-05-13 15:41:29.000000000 -0700 ++++ libf2c/makefile.u 2006-05-13 15:42:04.000000000 -0700 +@@ -69,7 +69,9 @@ + OFILES = $(MISC) $(POW) $(CX) $(DCX) $(REAL) $(DBL) $(INT) \ + $(HALF) $(CMP) $(EFL) $(CHAR) $(I77) $(TIME) + +-all: f2c.h signal1.h sysdep1.h libf2c.a ++all: libf2c.a ++ ++$(OFILES): f2c.h signal1.h sysdep1.h + + libf2c.a: $(OFILES) + ar r libf2c.a $? diff --git a/dev-libs/libf2c/files/20081126-link-shared-libf2c-correctly.patch b/dev-libs/libf2c/files/20081126-link-shared-libf2c-correctly.patch new file mode 100644 index 000000000..37d4e1df2 --- /dev/null +++ b/dev-libs/libf2c/files/20081126-link-shared-libf2c-correctly.patch @@ -0,0 +1,11 @@ +--- makefile.u 2009-03-25 14:26:06.000000000 +0100 ++++ makefile.u.new 2009-03-25 14:26:47.000000000 +0100 +@@ -88,7 +88,7 @@ + ## arrange for $DYLD_LIBRARY_PATH to include the directory containing libf2c.so. + + libf2c.so: $(OFILES) +- $(CC) -shared -o libf2c.so $(OFILES) ++ $(CC) -shared -Wl,-soname,libf2c.so.2 -lm -o libf2c.so.2 $(OFILES) + + ### If your system lacks ranlib, you don't need it; see README. + diff --git a/dev-libs/libf2c/libf2c-20081126.ebuild b/dev-libs/libf2c/libf2c-20081126.ebuild new file mode 100644 index 000000000..a4fafec36 --- /dev/null +++ b/dev-libs/libf2c/libf2c-20081126.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit toolchain-funcs eutils + +DESCRIPTION="Library that converts FORTRAN to C source." +HOMEPAGE="ftp://ftp.netlib.org/f2c/index.html" +#SRC_URI="ftp://ftp.netlib.org/f2c/${PN}.zip" +#SRC_URI="http://dev.gentoo.org/~dberkholz/distfiles/${P}.zip +# mirror://gentoo/${P}.zip" +SRC_URI="http://gentoo.j-schmitz.net/portage/distfiles/ALL/${P}.zip" + +LICENSE="libf2c" +SLOT="0" +KEYWORDS="alpha amd64 ppc ppc64 sparc x86 ~x86-fbsd" +IUSE="" + +RDEPEND="virtual/libc" +DEPEND="${RDEPEND} + app-arch/unzip" + +S="${WORKDIR}/${PN}" + +src_unpack() { + unpack ${A} + epatch "${FILESDIR}"/20051004-add-ofiles-dep.patch + epatch "${FILESDIR}"/${PV}-link-shared-libf2c-correctly.patch +} + +src_compile() { + emake \ + -f makefile.u \ + all \ + CFLAGS="${CFLAGS}" \ + CC="$(tc-getCC)" \ + || die "all failed" + + # Clean up files so we can recompile PIC for the shared lib + rm *.o || die "clean failed" + + emake \ + -f makefile.u \ + libf2c.so \ + CFLAGS="${CFLAGS} -fPIC" \ + CC="$(tc-getCC)" \ + || die "libf2c.so failed" +} + +src_install () { + dolib.a libf2c.a || die "dolib.a failed" + dolib libf2c.so.2 || die "dolib failed" + dosym libf2c.so.2 /usr/$(get_libdir)/libf2c.so + insinto /usr/include + doins f2c.h || die "f2c.h install failed" + dodoc README Notice || die "doc install failed" +} diff --git a/dev-libs/libf2c/metadata.xml b/dev-libs/libf2c/metadata.xml new file mode 100644 index 000000000..d369d068f --- /dev/null +++ b/dev-libs/libf2c/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci</herd> +</pkgmetadata> |