sci-biology/embassy-emnu: Move use_enable call to local scope
authorJustin Lecher <jlec@gentoo.org>
Mon, 23 Nov 2015 10:26:10 +0000 (11:26 +0100)
committerJustin Lecher <jlec@gentoo.org>
Mon, 23 Nov 2015 10:46:39 +0000 (11:46 +0100)
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=566546

Package-Manager: portage-2.2.25
Signed-off-by: Justin Lecher <jlec@gentoo.org>
sci-biology/embassy-emnu/embassy-emnu-1.05.650.ebuild
sci-biology/embassy-emnu/metadata.xml

index ce49afd13a445988fdb966cef07b91d90d4b4e70..c3976566920a55695fdb30dad118a6b5f55a3262 100644 (file)
@@ -5,7 +5,6 @@
 EAPI=5
 
 EBO_DESCRIPTION="Simple menu of EMBOSS applications"
-EBO_EXTRA_ECONF="$(use_enable ncurses curses)"
 
 AUTOTOOLS_AUTORECONF=1
 
@@ -14,6 +13,11 @@ inherit emboss-r1
 KEYWORDS="amd64 ~ppc x86 ~x86-linux ~ppc-macos"
 IUSE+=" ncurses"
 
-RDEPEND+=" ncurses? ( sys-libs/ncurses )"
+RDEPEND+=" ncurses? ( sys-libs/ncurses:= )"
 
 PATCHES=( "${FILESDIR}"/${P}_fix-build-system.patch )
+
+src_configure() {
+       EBO_EXTRA_ECONF="$(use_enable ncurses curses)"
+       emboss_src_configure
+}
index 34f0987ae3be3e13602f699b2909df80c60788e1..fbd4705346b4fd65ce181b85a976f1ba4ccd3029 100644 (file)
@@ -1,4 +1,4 @@
-<?xml version='1.0' encoding='UTF-8'?>
+<?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
   <herd>sci-biology</herd>