summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-06-01 09:41:47 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-06-01 09:42:01 +0200
commit1eb695ee7fa02bfd525bdbbb82729520b7848ecd (patch)
treecbe210ff6b05a15b0ff58403942709baf632d0c4 /dev-libs/apr-util
parentdev-db/sqlitebrowser: amd64 stable wrt bug #620038 (diff)
downloadgentoo-1eb695ee7fa02bfd525bdbbb82729520b7848ecd.tar.gz
gentoo-1eb695ee7fa02bfd525bdbbb82729520b7848ecd.tar.bz2
gentoo-1eb695ee7fa02bfd525bdbbb82729520b7848ecd.zip
dev-libs/apr-util: Fixed broken find command (bug #620254).
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-libs/apr-util')
-rw-r--r--dev-libs/apr-util/apr-util-1.5.4-r3.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-libs/apr-util/apr-util-1.5.4-r3.ebuild b/dev-libs/apr-util/apr-util-1.5.4-r3.ebuild
index db5d7e6c1f0..91a41d6598d 100644
--- a/dev-libs/apr-util/apr-util-1.5.4-r3.ebuild
+++ b/dev-libs/apr-util/apr-util-1.5.4-r3.ebuild
@@ -121,7 +121,9 @@ src_install() {
default
find "${ED}" -name "*.la" -delete || die
- find "${ED}usr/$(get_libdir)/apr-util-${SLOT}" -name "*.a" -delete || die
+ if [[ -d "${ED}usr/$(get_libdir)/apr-util-${SLOT}" ]] ; then
+ find "${ED}usr/$(get_libdir)/apr-util-${SLOT}" -name "*.a" -delete || die
+ fi
if ! use static-libs ; then
find "${ED}" -name "*.a" -not -name "*$(get_libname)" -delete || die
fi