diff options
author | Christian Faulhammer <fauli@gentoo.org> | 2009-07-21 08:01:31 +0000 |
---|---|---|
committer | Christian Faulhammer <fauli@gentoo.org> | 2009-07-21 08:01:31 +0000 |
commit | 03e7582d62304f5c442df3fc69b3c073667989bf (patch) | |
tree | 1bd111a779af50748b553a153ddc6f009c9ea112 /sci-libs/parmgridgen | |
parent | Allow yasm also for x86 since it's the preferred application. (diff) | |
download | gentoo-2-03e7582d62304f5c442df3fc69b3c073667989bf.tar.gz gentoo-2-03e7582d62304f5c442df3fc69b3c073667989bf.tar.bz2 gentoo-2-03e7582d62304f5c442df3fc69b3c073667989bf.zip |
add patch for forced --as-needed linker flag (bug 272653), patch provided by Priit Laes <amd@astore20.com> in bug 232491; ported to EAPI 2
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'sci-libs/parmgridgen')
-rw-r--r-- | sci-libs/parmgridgen/ChangeLog | 8 | ||||
-rw-r--r-- | sci-libs/parmgridgen/files/parmgridgen-1.0-as-needed.patch | 19 | ||||
-rw-r--r-- | sci-libs/parmgridgen/parmgridgen-1.0.ebuild | 14 |
3 files changed, 33 insertions, 8 deletions
diff --git a/sci-libs/parmgridgen/ChangeLog b/sci-libs/parmgridgen/ChangeLog index 681f2725abe2..62b8d163d3bb 100644 --- a/sci-libs/parmgridgen/ChangeLog +++ b/sci-libs/parmgridgen/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-libs/parmgridgen # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/parmgridgen/ChangeLog,v 1.1 2009/04/25 16:04:22 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/parmgridgen/ChangeLog,v 1.2 2009/07/21 08:01:31 fauli Exp $ + + 21 Jul 2009; Christian Faulhammer <fauli@gentoo.org> + parmgridgen-1.0.ebuild, +files/parmgridgen-1.0-as-needed.patch: + add patch for forced --as-needed linker flag (bug 272653), patch provided + by Priit Laes <amd@astore20.com> in bug 232491 + Ported to EAPI 2 *parmgridgen-1.0 (25 Apr 2009) diff --git a/sci-libs/parmgridgen/files/parmgridgen-1.0-as-needed.patch b/sci-libs/parmgridgen/files/parmgridgen-1.0-as-needed.patch new file mode 100644 index 000000000000..4f9addda4228 --- /dev/null +++ b/sci-libs/parmgridgen/files/parmgridgen-1.0-as-needed.patch @@ -0,0 +1,19 @@ +--- MGridGen/Lib/Makefile.am.old 2009-03-10 09:28:13.000000000 +0200 ++++ MGridGen/Lib/Makefile.am 2009-03-10 09:28:07.000000000 +0200 +@@ -8,3 +8,5 @@ + lib_LTLIBRARIES = libMGridGen.la + libMGridGen_la_SOURCES = aratio.c coarsen.c kwayfm.c match.c merge.c mgridgen.c refine.c setup.c + libMGridGen_la_LDFLAGS = -no-undefined -export-dynamic -version-info 1:0:0 ++ ++libMGridGen_la_LIBADD = ../IMlib/libIMlib.la +--- ParMGridGen/ParLib/Makefile.am.old 2009-03-10 09:31:43.000000000 +0200 ++++ ParMGridGen/ParLib/Makefile.am 2009-03-10 09:35:13.000000000 +0200 +@@ -8,3 +8,8 @@ + lib_LTLIBRARIES = libParMGridGen.la + libParMGridGen_la_SOURCES = comm.c debug.c grsetup.c ikeysort.c memory.c move.c parmgridgen.c setup.c util.c + libParMGridGen_la_LDFLAGS = -no-undefined -export-dynamic -version-info 1:0:0 ++ ++libParMGridGen_la_LIBADD = \ ++ $(top_builddir)/MGridGen/IMlib/libIMlib.la \ ++ $(top_builddir)/MGridGen/Lib/libMGridGen.la \ ++ ../IMParMetis-2.0/ParMETISLib/libIMparmetis.la diff --git a/sci-libs/parmgridgen/parmgridgen-1.0.ebuild b/sci-libs/parmgridgen/parmgridgen-1.0.ebuild index a7c0a04926fd..1d9521db5fb9 100644 --- a/sci-libs/parmgridgen/parmgridgen-1.0.ebuild +++ b/sci-libs/parmgridgen/parmgridgen-1.0.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/parmgridgen/parmgridgen-1.0.ebuild,v 1.1 2009/04/25 16:04:22 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/parmgridgen/parmgridgen-1.0.ebuild,v 1.2 2009/07/21 08:01:31 fauli Exp $ + +EAPI=2 inherit eutils autotools @@ -24,15 +26,13 @@ pkg_setup(){ export CC=mpicc } -src_unpack() { - unpack ${A} - cd "${S}" - +src_prepare() { epatch "${FILESDIR}/${P}-autotools.patch" + epatch "${FILESDIR}/${P}-as-needed.patch" eautoreconf } src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc README Doc/*.pdf || die "dodoc failed" + emake DESTDIR="${D}" install || die + dodoc README Doc/*.pdf || die } |