diff options
author | David Seifert <soap@gentoo.org> | 2016-01-21 19:35:27 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-01-21 19:36:19 +0100 |
commit | 34dc9de16f4718583c6703705017a2365a137bf8 (patch) | |
tree | c076aadd813f1ff1ac63a706a1f4a386978dc3f9 | |
parent | sci-biology/gmap: Version bump to 2015.12.31.5 (diff) | |
download | gentoo-34dc9de16f4718583c6703705017a2365a137bf8.tar.gz gentoo-34dc9de16f4718583c6703705017a2365a137bf8.tar.bz2 gentoo-34dc9de16f4718583c6703705017a2365a137bf8.zip |
sci-biology/iedera: Remove hardcoded {C,CXX,LD}FLAGS from configure.ac
Package-Manager: portage-2.2.27
-rw-r--r-- | sci-biology/iedera/files/iedera-1.05-fix-buildsystem.patch | 16 | ||||
-rw-r--r-- | sci-biology/iedera/iedera-1.05-r1.ebuild (renamed from sci-biology/iedera/iedera-1.05.ebuild) | 12 |
2 files changed, 24 insertions, 4 deletions
diff --git a/sci-biology/iedera/files/iedera-1.05-fix-buildsystem.patch b/sci-biology/iedera/files/iedera-1.05-fix-buildsystem.patch new file mode 100644 index 000000000000..f232d7de162b --- /dev/null +++ b/sci-biology/iedera/files/iedera-1.05-fix-buildsystem.patch @@ -0,0 +1,16 @@ +iedera sets default flags that override user {C,CXX,LD}FLAGS + +--- iedera-1.05/configure.ac ++++ iedera-1.05/configure.ac +@@ -4,11 +4,5 @@ + AC_PROG_INSTALL + AC_PROG_CXX + AC_HEADER_STDC +-CFLAGS="$CFLAGS $UNAME_DEFS -O3 -pipe -funroll-loops -Wall" +-CXXFLAGS="$CFLAGS" +-LDFLAGS="$LDFLAGS -lm" +-AC_SUBST(CFLAGS) +-AC_SUBST(CXXFLAGS) +-AC_SUBST(LDFLAGS) + AC_CONFIG_FILES([Makefile]) + AC_OUTPUT diff --git a/sci-biology/iedera/iedera-1.05.ebuild b/sci-biology/iedera/iedera-1.05-r1.ebuild index fb442a6a6286..ec52dd3963b9 100644 --- a/sci-biology/iedera/iedera-1.05.ebuild +++ b/sci-biology/iedera/iedera-1.05-r1.ebuild @@ -4,6 +4,8 @@ EAPI=6 +inherit autotools + DESCRIPTION="A subset seed design tool for DNA sequence alignment" HOMEPAGE="http://bioinfo.lifl.fr/yass/iedera.php" SRC_URI="http://bioinfo.lifl.fr/yass/files/${P}.tar.gz" @@ -13,10 +15,12 @@ SLOT="0" IUSE="" KEYWORDS="~amd64 ~x86" -DEPEND="" -RDEPEND="" +PATCHES=( + "${FILESDIR}/${P}-fix-buildsystem.patch" +) -src_install() { +src_prepare() { + mv configure.{in,ac} || die default - dodoc AUTHORS README NEWS + eautoreconf } |