dev-cpp/commoncpp2: Pin subslots and remove REQUIRED_USE

Package-Manager: portage-2.3.2
This commit is contained in:
David Seifert
2016-11-18 09:15:59 +01:00
parent 03646c9b1b
commit 1b8beeec1c

View File

@@ -13,14 +13,18 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="debug doc examples ipv6 gnutls ssl static-libs"
REQUIRED_USE="gnutls? ( ssl )"
RDEPEND="ssl? ( gnutls? ( dev-libs/libgcrypt:0
net-libs/gnutls )
!gnutls? ( dev-libs/openssl:0 ) )
sys-libs/zlib"
DEPEND="doc? ( >=app-doc/doxygen-1.3.6 )
${RDEPEND}"
RDEPEND="
sys-libs/zlib
ssl? (
gnutls? (
dev-libs/libgcrypt:0=
net-libs/gnutls:=
)
!gnutls? ( dev-libs/openssl:0= )
)"
DEPEND="${RDEPEND}
doc? ( >=app-doc/doxygen-1.3.6 )"
PATCHES=(
"${FILESDIR}/1.8.1-configure_detect_netfilter.patch"
@@ -38,19 +42,14 @@ src_prepare() {
}
src_configure() {
local myconf
if use gnutls; then
myconf+="--with-gnutls"
else
use ssl && myconf+="--with-openssl"
fi
use ssl && local myconf=( $(usex gnutls '--with-gnutls' '--with-openssl') )
econf \
$(use_enable debug) \
$(use_with ipv6) \
$(use_enable static-libs static) \
$(use_with doc doxygen) \
${myconf}
"${myconf[@]}"
}
src_install () {