Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-client/lynx: ChangeLog lynx-2.8.8_pre14.ebuild
Date: Fri, 28 Sep 2012 06:08:12
Message-Id: 20120928060802.3030621600@flycatcher.gentoo.org
1 radhermit 12/09/28 06:08:02
2
3 Modified: ChangeLog lynx-2.8.8_pre14.ebuild
4 Log:
5 Replace conditional argument setting with usex calls.
6
7 (Portage version: 2.2.0_alpha131/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.133 www-client/lynx/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/lynx/ChangeLog?rev=1.133&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/lynx/ChangeLog?rev=1.133&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/lynx/ChangeLog?r1=1.132&r2=1.133
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/www-client/lynx/ChangeLog,v
19 retrieving revision 1.132
20 retrieving revision 1.133
21 diff -u -r1.132 -r1.133
22 --- ChangeLog 27 Sep 2012 04:29:22 -0000 1.132
23 +++ ChangeLog 28 Sep 2012 06:08:01 -0000 1.133
24 @@ -1,6 +1,9 @@
25 # ChangeLog for www-client/lynx
26 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/www-client/lynx/ChangeLog,v 1.132 2012/09/27 04:29:22 radhermit Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/www-client/lynx/ChangeLog,v 1.133 2012/09/28 06:08:01 radhermit Exp $
29 +
30 + 28 Sep 2012; Tim Harder <radhermit@g.o> lynx-2.8.8_pre14.ebuild:
31 + Replace conditional argument setting with usex calls.
32
33 *lynx-2.8.8_pre14 (27 Sep 2012)
34
35
36
37
38 1.2 www-client/lynx/lynx-2.8.8_pre14.ebuild
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/lynx/lynx-2.8.8_pre14.ebuild?rev=1.2&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/lynx/lynx-2.8.8_pre14.ebuild?rev=1.2&content-type=text/plain
42 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/lynx/lynx-2.8.8_pre14.ebuild?r1=1.1&r2=1.2
43
44 Index: lynx-2.8.8_pre14.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/www-client/lynx/lynx-2.8.8_pre14.ebuild,v
47 retrieving revision 1.1
48 retrieving revision 1.2
49 diff -u -r1.1 -r1.2
50 --- lynx-2.8.8_pre14.ebuild 27 Sep 2012 04:29:22 -0000 1.1
51 +++ lynx-2.8.8_pre14.ebuild 28 Sep 2012 06:08:01 -0000 1.2
52 @@ -1,6 +1,6 @@
53 # Copyright 1999-2012 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/www-client/lynx/lynx-2.8.8_pre14.ebuild,v 1.1 2012/09/27 04:29:22 radhermit Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/www-client/lynx/lynx-2.8.8_pre14.ebuild,v 1.2 2012/09/28 06:08:01 radhermit Exp $
57
58 EAPI=4
59
60 @@ -58,23 +58,6 @@
61 }
62
63 src_configure() {
64 - local myargs
65 -
66 - if use ssl ; then
67 - # --with-gnutls and --with-ssl are alternatives,
68 - # the latter enabling openssl support so it should be
69 - # _not_ be used if gnutls ssl implementation is desired
70 - if use gnutls ; then
71 - # ssl implementation = gnutls
72 - myargs+=" --with-gnutls=${EPREFIX}/usr"
73 - else
74 - # ssl implementation = openssl
75 - myargs+=" --with-ssl=${EPREFIX}/usr"
76 - fi
77 - fi
78 -
79 - use unicode && myargs+=" --with-screen=ncursesw"
80 -
81 econf \
82 --enable-nested-tables \
83 --enable-cgi-links \
84 @@ -94,7 +77,8 @@
85 $(use_enable cjk) \
86 $(use_enable unicode japanese-utf8) \
87 $(use_with bzip2 bzlib) \
88 - $myargs
89 + $(usex ssl "--with-$(usex gnutls gnutls ssl)=${EPREFIX}/usr" "") \
90 + $(usex unicode "--with-screen=ncursesw" "")
91 }
92
93 #src_compile() {