commit:     55b24bea8ab7b20bdc1e977300465fe1955821b8
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  7 10:36:05 2016 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Sep  7 10:36:05 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55b24bea

media-gfx/graphicsmagick: Some qa fixes suggested by Soap__.

Package-Manager: portage-2.3.0
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 media-gfx/graphicsmagick/graphicsmagick-1.3.25.ebuild | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/media-gfx/graphicsmagick/graphicsmagick-1.3.25.ebuild 
b/media-gfx/graphicsmagick/graphicsmagick-1.3.25.ebuild
index 53da1fe..7b3cb98 100644
--- a/media-gfx/graphicsmagick/graphicsmagick-1.3.25.ebuild
+++ b/media-gfx/graphicsmagick/graphicsmagick-1.3.25.ebuild
@@ -70,8 +70,6 @@ src_configure() {
        fi
 
        econf \
-               --docdir="${EPREFIX}"/usr/share/doc/${PF} \
-               --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
                --${openmp}-openmp \
                --enable-largefile \
                --enable-shared \
@@ -123,9 +121,9 @@ src_install() {
 
        if use perl; then
                emake -C PerlMagick DESTDIR="${D}" install
-               find "${ED}" -type f -name perllocal.pod -exec rm -f {} +
-               find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} +
+               find "${ED}" -type f -name perllocal.pod -exec rm -f {} + || die
+               find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} 
+ || die
        fi
 
-       find "${ED}" -name '*.la' -exec sed -i -e 
"/^dependency_libs/s:=.*:='':" {} +
+       find "${ED}" -name '*.la' -exec sed -i -e 
"/^dependency_libs/s:=.*:='':" {} + || die
 }

Reply via email to