diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-11-03 16:06:58 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-11-03 16:06:58 +0000 |
commit | bd4aeefe33e63f613512604e47bfca7b2187697d (patch) | |
tree | adb35b5a9a00ee7ea591ab0c987f70167c23b597 /www-misc/htdig/htdig-3.2.0_beta6-r5.ebuild | |
parent | 48ece6662cbd443015f5a57ae6d8cbdbd69ef37c (diff) |
gentoo resync : 03.11.2019
Diffstat (limited to 'www-misc/htdig/htdig-3.2.0_beta6-r5.ebuild')
-rw-r--r-- | www-misc/htdig/htdig-3.2.0_beta6-r5.ebuild | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/www-misc/htdig/htdig-3.2.0_beta6-r5.ebuild b/www-misc/htdig/htdig-3.2.0_beta6-r5.ebuild index cac6067ae058..97a63976bca2 100644 --- a/www-misc/htdig/htdig-3.2.0_beta6-r5.ebuild +++ b/www-misc/htdig/htdig-3.2.0_beta6-r5.ebuild @@ -1,12 +1,11 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit autotools -MY_PV=${PV/_beta/b} -S=${WORKDIR}/${PN}-${MY_PV} +MY_PV="${PV/_beta/b}" DESCRIPTION="HTTP/HTML indexing and searching system" HOMEPAGE="http://www.htdig.org" @@ -18,12 +17,15 @@ KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-lin IUSE="libressl ssl" DEPEND=" - >=sys-libs/zlib-1.1.3 + sys-libs/zlib app-arch/unzip ssl? ( - !libressl? ( dev-libs/openssl:0 ) - libressl? ( dev-libs/libressl ) + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}-${MY_PV}" PATCHES=( "${FILESDIR}"/${P}-gcc4.patch @@ -33,8 +35,7 @@ PATCHES=( "${FILESDIR}"/${P}-musl.patch "${FILESDIR}"/${P}-drop-bogus-assignment.patch #638720 ) - -HTML_DOCS=( htdoc ) +HTML_DOCS=( htdoc/. ) src_prepare() { default @@ -44,6 +45,7 @@ src_prepare() { src_configure() { local myeconfargs=( + --disable-static --with-config-dir="${EPREFIX}"/etc/${PN} --with-default-config-file="${EPREFIX}"/etc/${PN}/${PN}.conf --with-database-dir="${EPREFIX}"/var/lib/${PN}/db @@ -61,6 +63,10 @@ src_install () { "${ED}"/etc/${PN}/${PN}.conf \ "${ED}"/usr/bin/rundig \ || die "sed failed (removing \${D} from installed files)" + # symlink htsearch so it can be easily found. see bug #62087 dosym ../../var/www/localhost/cgi-bin/htsearch /usr/bin/htsearch + + # no static archives + find "${D}" -name '*.la' -delete || die } |