www-client/elinks: add USE="gc xml" to control boehm-gc/expat deps
authorMike Frysinger <vapier@gentoo.org>
Thu, 3 Dec 2015 03:58:12 +0000 (22:58 -0500)
committerMike Frysinger <vapier@gentoo.org>
Thu, 3 Dec 2015 04:00:26 +0000 (23:00 -0500)
www-client/elinks/elinks-0.12_pre6-r1.ebuild
www-client/elinks/elinks-0.12_pre6-r2.ebuild
www-client/elinks/elinks-9999.ebuild
www-client/elinks/metadata.xml

index a9ffcf6941ddc38674f5503dd48a7e546bd65024..62908260f985acd5861733f83f5676dde0334baa 100644 (file)
@@ -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}
 }
 
index 23044aac18924b45e20117314fc6614b6f674edb..88b93c0b8b1abd71a179a4ec1c94534c5c06a951 100644 (file)
@@ -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}
 }
 
index 476a6210fa075d31f4954154fc8ca00464a80c40..3feac4b6c251606c7b76d45893edadda49d535c9 100644 (file)
@@ -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}
 }
 
index 88787459505eaad6aedc9caf7c87724ade1f11ba..6ee34d0bf74cbae070d665bfcbc72dded12b7672 100644 (file)
@@ -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>