summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2019-08-11 13:19:27 +0200
committerDavid Seifert <soap@gentoo.org>2019-08-11 13:19:27 +0200
commit4445e6a31eb91dd65b4a8bdcd775367034bdfbdb (patch)
tree46530d350de421d5edab240126e643f045c7235e /dev-libs/xapian
parentdev-ada/gprbuild: [QA] Fix missing trailing slash (diff)
downloadgentoo-4445e6a31eb91dd65b4a8bdcd775367034bdfbdb.tar.gz
gentoo-4445e6a31eb91dd65b4a8bdcd775367034bdfbdb.tar.bz2
gentoo-4445e6a31eb91dd65b4a8bdcd775367034bdfbdb.zip
dev-libs/xapian: [QA] Fix missing trailing slash
Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-libs/xapian')
-rw-r--r--dev-libs/xapian/xapian-1.4.10.ebuild14
-rw-r--r--dev-libs/xapian/xapian-1.4.11.ebuild14
2 files changed, 16 insertions, 12 deletions
diff --git a/dev-libs/xapian/xapian-1.4.10.ebuild b/dev-libs/xapian/xapian-1.4.10.ebuild
index 0c23be4d11e9..0e1129a1b5bb 100644
--- a/dev-libs/xapian/xapian-1.4.10.ebuild
+++ b/dev-libs/xapian/xapian-1.4.10.ebuild
@@ -58,21 +58,23 @@ MULTILIB_WRAPPED_HEADERS=(
/usr/include/xapian/registry.h
)
+multilib_src_test() {
+ emake check VALGRIND=
+}
+
multilib_src_install() {
emake DESTDIR="${D}" install
}
multilib_src_install_all() {
# bug #573466
- ln -sf "${D}usr/bin/xapian-config" "${D}usr/bin/xapian-config-1.3"
+ dosym xapian-config /usr/bin/xapian-config-1.3
- use doc || rm -rf "${D}usr/share/doc/xapian-core-${PV}"
+ if use doc; then
+ rm -rf "${D}/usr/share/doc/xapian-core-${PV}" || die
+ fi
dodoc AUTHORS HACKING PLATFORMS README NEWS
find "${D}" -name "*.la" -type f -delete || die
}
-
-multilib_src_test() {
- emake check VALGRIND=
-}
diff --git a/dev-libs/xapian/xapian-1.4.11.ebuild b/dev-libs/xapian/xapian-1.4.11.ebuild
index f5aa42950fd2..917f435049f5 100644
--- a/dev-libs/xapian/xapian-1.4.11.ebuild
+++ b/dev-libs/xapian/xapian-1.4.11.ebuild
@@ -56,21 +56,23 @@ MULTILIB_WRAPPED_HEADERS=(
/usr/include/xapian/registry.h
)
+multilib_src_test() {
+ emake check VALGRIND=
+}
+
multilib_src_install() {
emake DESTDIR="${D}" install
}
multilib_src_install_all() {
# bug #573466
- ln -sf "${D}usr/bin/xapian-config" "${D}usr/bin/xapian-config-1.3"
+ dosym xapian-config /usr/bin/xapian-config-1.3
- use doc || rm -rf "${D}usr/share/doc/xapian-core-${PV}"
+ if use doc; then
+ rm -rf "${D}/usr/share/doc/xapian-core-${PV}" || die
+ fi
dodoc AUTHORS HACKING PLATFORMS README NEWS
find "${D}" -name "*.la" -type f -delete || die
}
-
-multilib_src_test() {
- emake check VALGRIND=
-}