summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-09-24 17:40:47 -0400
committerMike Frysinger <vapier@gentoo.org>2015-09-24 17:41:10 -0400
commit6cab00bf3c3efd8aaf427fceac13fdf65725ba59 (patch)
treeba26bc3c3059f7398250156d3eb29d3f54c5f1b4 /app-editors
parentdev-haskell/text: drop USE=developer as it breaks API, bug #561100 (diff)
downloadgentoo-6cab00bf3c3efd8aaf427fceac13fdf65725ba59.tar.gz
gentoo-6cab00bf3c3efd8aaf427fceac13fdf65725ba59.tar.bz2
gentoo-6cab00bf3c3efd8aaf427fceac13fdf65725ba59.zip
app-editors/nano: switch USE=magic to the new configure flag
No need to hack autoconf cache vars anymore.
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/nano/nano-2.4.2.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/app-editors/nano/nano-2.4.2.ebuild b/app-editors/nano/nano-2.4.2.ebuild
index 8548decc2d0e..f324c2e1ac7f 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) \