From 39bac3ef9d5155ad74b16255db0a71421410485f Mon Sep 17 00:00:00 2001 From: Alon Bar-Lev Date: Wed, 17 Apr 2019 00:01:54 +0300 Subject: dev-libs/xmlsec: cleanup ebuild Signed-off-by: Alon Bar-Lev Package-Manager: Portage-2.3.62, Repoman-2.3.11 --- dev-libs/xmlsec/xmlsec-1.2.28.ebuild | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'dev-libs/xmlsec') diff --git a/dev-libs/xmlsec/xmlsec-1.2.28.ebuild b/dev-libs/xmlsec/xmlsec-1.2.28.ebuild index 1e5834c6fbb1..50ec11983a80 100644 --- a/dev-libs/xmlsec/xmlsec-1.2.28.ebuild +++ b/dev-libs/xmlsec/xmlsec-1.2.28.ebuild @@ -42,26 +42,17 @@ PATCHES=( "${FILESDIR}/${P}-test.patch" ) -src_prepare() { - default - # conditionally install extra documentation - if ! use doc ; then - sed -i '/^SUBDIRS/s/docs//' Makefile.am || die - eautoreconf - fi -} - src_configure() { econf \ - --enable-pkgconfig \ - --with-html-dir=/usr/share/doc/${PF}/html \ + $(use_enable doc docs) \ $(use_enable static-libs static) \ $(use_with gcrypt) \ $(use_with gnutls) \ - $(use_with nss) \ $(use_with nss nspr) \ + $(use_with nss) \ $(use_with openssl) \ - $(use_enable openssl aes) + --enable-mans \ + --enable-pkgconfig } src_test() { -- cgit v1.2.3-65-gdbad