commit:     6cab00bf3c3efd8aaf427fceac13fdf65725ba59
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 24 21:40:47 2015 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Thu Sep 24 21:41:10 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cab00bf

app-editors/nano: switch USE=magic to the new configure flag

No need to hack autoconf cache vars anymore.

 app-editors/nano/nano-2.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/nano/nano-2.4.2.ebuild 
b/app-editors/nano/nano-2.4.2.ebuild
index 8548dec..f324c2e 100644
--- a/app-editors/nano/nano-2.4.2.ebuild
+++ b/app-editors/nano/nano-2.4.2.ebuild
@@ -41,7 +41,6 @@ src_prepare() {
 
 src_configure() {
        use static && append-ldflags -static
-       eval export ac_cv_{header_magic_h,lib_magic_magic_open}=$(usex magic)
        local myconf=()
        case ${CHOST} in
        *-gnu*|*-uclibc*) myconf+=( "--with-wordbounds" ) ;; #467848
@@ -53,6 +52,7 @@ src_configure() {
                $(use_enable !minimal multibuffer) \
                $(use_enable !minimal nanorc) \
                --disable-wrapping-as-root \
+               $(use_enable magic libmagic) \
                $(use_enable spell speller) \
                $(use_enable justify) \
                $(use_enable debug) \

Reply via email to