commit:     d70614316ff6809f2b88a6aa773eb58523818e0d
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  3 03:58:12 2015 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Thu Dec  3 04:00:26 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7061431

www-client/elinks: add USE="gc xml" to control boehm-gc/expat deps

 www-client/elinks/elinks-0.12_pre6-r1.ebuild | 11 +++++++----
 www-client/elinks/elinks-0.12_pre6-r2.ebuild | 11 +++++++----
 www-client/elinks/elinks-9999.ebuild         | 11 +++++++----
 www-client/elinks/metadata.xml               |  2 ++
 4 files changed, 23 insertions(+), 12 deletions(-)

diff --git a/www-client/elinks/elinks-0.12_pre6-r1.ebuild 
b/www-client/elinks/elinks-0.12_pre6-r1.ebuild
index a9ffcf6..6290826 100644
--- a/www-client/elinks/elinks-0.12_pre6-r1.ebuild
+++ b/www-client/elinks/elinks-0.12_pre6-r1.ebuild
@@ -15,14 +15,15 @@ SRC_URI="http://elinks.or.cz/download/${MY_P}.tar.bz2
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd 
~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="bittorrent bzip2 debug finger ftp gopher gpm guile idn ipv6 \
-         javascript lua +mouse nls nntp perl ruby samba ssl unicode X zlib"
+IUSE="bittorrent bzip2 debug finger ftp gc gopher gpm guile idn ipv6
+         javascript lua +mouse nls nntp perl ruby samba ssl unicode X xml zlib"
 RESTRICT="test"
 
-DEPEND="dev-libs/boehm-gc
-       >=dev-libs/expat-1.95.4
+DEPEND="
        bzip2? ( >=app-arch/bzip2-1.0.2 )
+       gc? ( dev-libs/boehm-gc )
        ssl? ( >=dev-libs/openssl-0.9.6g:0 )
+       xml? ( >=dev-libs/expat-1.95.4 )
        X? ( x11-libs/libX11 x11-libs/libXt )
        zlib? ( >=sys-libs/zlib-1.1.4 )
        lua? ( >=dev-lang/lua-5:0 )
@@ -122,6 +123,7 @@ src_configure() {
                $(use_with gpm) \
                $(use_with zlib) \
                $(use_with bzip2 bzlib) \
+               $(use_with gc) \
                $(use_with X x) \
                $(use_with lua) \
                $(use_with guile) \
@@ -138,6 +140,7 @@ src_configure() {
                $(use_enable finger) \
                $(use_enable samba smb) \
                $(use_enable mouse) \
+               $(use_enable xml xbel) \
                ${myconf}
 }
 

diff --git a/www-client/elinks/elinks-0.12_pre6-r2.ebuild 
b/www-client/elinks/elinks-0.12_pre6-r2.ebuild
index 23044aa..88b93c0 100644
--- a/www-client/elinks/elinks-0.12_pre6-r2.ebuild
+++ b/www-client/elinks/elinks-0.12_pre6-r2.ebuild
@@ -15,17 +15,18 @@ SRC_URI="http://elinks.or.cz/download/${MY_P}.tar.bz2
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="bittorrent bzip2 debug finger ftp gopher gpm guile idn ipv6 \
-         javascript libressl lua +mouse nls nntp perl ruby samba ssl unicode X 
zlib"
+IUSE="bittorrent bzip2 debug finger ftp gc gopher gpm guile idn ipv6
+         javascript libressl lua +mouse nls nntp perl ruby samba ssl unicode X 
xml zlib"
 RESTRICT="test"
 
-DEPEND="dev-libs/boehm-gc
-       >=dev-libs/expat-1.95.4
+DEPEND="
        bzip2? ( >=app-arch/bzip2-1.0.2 )
+       gc? ( dev-libs/boehm-gc )
        ssl? (
                !libressl? ( dev-libs/openssl:0 )
                libressl? ( dev-libs/libressl )
        )
+       xml? ( >=dev-libs/expat-1.95.4 )
        X? ( x11-libs/libX11 x11-libs/libXt )
        zlib? ( >=sys-libs/zlib-1.1.4 )
        lua? ( >=dev-lang/lua-5:0 )
@@ -125,6 +126,7 @@ src_configure() {
                $(use_with gpm) \
                $(use_with zlib) \
                $(use_with bzip2 bzlib) \
+               $(use_with gc) \
                $(use_with X x) \
                $(use_with lua) \
                $(use_with guile) \
@@ -141,6 +143,7 @@ src_configure() {
                $(use_enable finger) \
                $(use_enable samba smb) \
                $(use_enable mouse) \
+               $(use_enable xml xbel) \
                ${myconf}
 }
 

diff --git a/www-client/elinks/elinks-9999.ebuild 
b/www-client/elinks/elinks-9999.ebuild
index 476a621..3feac4b 100644
--- a/www-client/elinks/elinks-9999.ebuild
+++ b/www-client/elinks/elinks-9999.ebuild
@@ -17,14 +17,15 @@ 
SRC_URI="https://dev.gentoo.org/~spock/portage/distfiles/elinks-0.10.4.conf.bz2";
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS=""
-IUSE="bittorrent bzip2 debug finger ftp gopher gpm guile idn ipv6 \
-         javascript lua +mouse nls nntp perl ruby samba ssl unicode X zlib"
+IUSE="bittorrent bzip2 debug finger ftp gc gopher gpm guile idn ipv6
+         javascript lua +mouse nls nntp perl ruby samba ssl unicode X xml zlib"
 RESTRICT="test"
 
-DEPEND="dev-libs/boehm-gc
-       >=dev-libs/expat-1.95.4
+DEPEND="
        bzip2? ( >=app-arch/bzip2-1.0.2 )
+       gc? ( dev-libs/boehm-gc )
        ssl? ( >=dev-libs/openssl-0.9.6g:0= )
+       xml? ( >=dev-libs/expat-1.95.4 )
        X? ( x11-libs/libX11 x11-libs/libXt )
        zlib? ( >=sys-libs/zlib-1.1.4 )
        lua? ( >=dev-lang/lua-5:0= )
@@ -91,6 +92,7 @@ src_configure() {
                $(use_with gpm) \
                $(use_with zlib) \
                $(use_with bzip2 bzlib) \
+               $(use_with gc) \
                $(use_with X x) \
                $(use_with lua) \
                $(use_with guile) \
@@ -107,6 +109,7 @@ src_configure() {
                $(use_enable finger) \
                $(use_enable samba smb) \
                $(use_enable mouse) \
+               $(use_enable xml xbel) \
                ${myconf}
 }
 

diff --git a/www-client/elinks/metadata.xml b/www-client/elinks/metadata.xml
index 8878745..6ee34d0 100644
--- a/www-client/elinks/metadata.xml
+++ b/www-client/elinks/metadata.xml
@@ -9,7 +9,9 @@
        <use>
                <flag name='bittorrent'>Enable support for the BitTorrent 
protocol</flag>
                <flag name='finger'>Enable support for the finger 
protocol</flag>
+               <flag name='gc'>Enable garbage collection support via 
<pkg>dev-libs/boehm-gc</pkg></flag>
                <flag name='gopher'>Enable support for the gopher 
protocol</flag>
                <flag name='mouse'>Make elinks to grab all mouse events</flag>
+               <flag name='xml'>Enable support for bookmarks via 
<pkg>dev-libs/expat</pkg></flag>
        </use>
 </pkgmetadata>

Reply via email to