commit: 39bac3ef9d5155ad74b16255db0a71421410485f
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 16 21:01:54 2019 +0000
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Tue Apr 16 21:02:06 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39bac3ef
dev-libs/xmlsec: cleanup ebuild
Signed-off-by: Alon Bar-Lev <alonbl <AT> gentoo.org>
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(-)
diff --git a/dev-libs/xmlsec/xmlsec-1.2.28.ebuild
b/dev-libs/xmlsec/xmlsec-1.2.28.ebuild
index 1e5834c6fbb..50ec11983a8 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() {