1 |
commit: 6cab00bf3c3efd8aaf427fceac13fdf65725ba59 |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 24 21:40:47 2015 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 24 21:41:10 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cab00bf |
7 |
|
8 |
app-editors/nano: switch USE=magic to the new configure flag |
9 |
|
10 |
No need to hack autoconf cache vars anymore. |
11 |
|
12 |
app-editors/nano/nano-2.4.2.ebuild | 2 +- |
13 |
1 file changed, 1 insertion(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/app-editors/nano/nano-2.4.2.ebuild b/app-editors/nano/nano-2.4.2.ebuild |
16 |
index 8548dec..f324c2e 100644 |
17 |
--- a/app-editors/nano/nano-2.4.2.ebuild |
18 |
+++ b/app-editors/nano/nano-2.4.2.ebuild |
19 |
@@ -41,7 +41,6 @@ src_prepare() { |
20 |
|
21 |
src_configure() { |
22 |
use static && append-ldflags -static |
23 |
- eval export ac_cv_{header_magic_h,lib_magic_magic_open}=$(usex magic) |
24 |
local myconf=() |
25 |
case ${CHOST} in |
26 |
*-gnu*|*-uclibc*) myconf+=( "--with-wordbounds" ) ;; #467848 |
27 |
@@ -53,6 +52,7 @@ src_configure() { |
28 |
$(use_enable !minimal multibuffer) \ |
29 |
$(use_enable !minimal nanorc) \ |
30 |
--disable-wrapping-as-root \ |
31 |
+ $(use_enable magic libmagic) \ |
32 |
$(use_enable spell speller) \ |
33 |
$(use_enable justify) \ |
34 |
$(use_enable debug) \ |