summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-01-07 16:42:37 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-01-07 17:01:42 +0100
commit230e991b0b4664eb888c0d2767a740fb1eb73e10 (patch)
treef00b48218ccd5b625f318b297e1cf795ce119036 /media-gfx/graphviz
parentprofiles: Drop >=app-text/popper-0.62.0 package.mask (diff)
downloadgentoo-230e991b0b4664eb888c0d2767a740fb1eb73e10.tar.gz
gentoo-230e991b0b4664eb888c0d2767a740fb1eb73e10.tar.bz2
gentoo-230e991b0b4664eb888c0d2767a740fb1eb73e10.zip
media-gfx/graphviz: Fix build w/ USE=-examples
Not all USE flag combinations build a demo directory. Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'media-gfx/graphviz')
-rw-r--r--media-gfx/graphviz/graphviz-2.40.1-r1.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/media-gfx/graphviz/graphviz-2.40.1-r1.ebuild b/media-gfx/graphviz/graphviz-2.40.1-r1.ebuild
index d1f5b49c8211..edc5a11b4af8 100644
--- a/media-gfx/graphviz/graphviz-2.40.1-r1.ebuild
+++ b/media-gfx/graphviz/graphviz-2.40.1-r1.ebuild
@@ -257,11 +257,11 @@ src_install() {
pkgconfigdir="${EPREFIX}"/usr/$(get_libdir)/pkgconfig \
install
- if use !examples; then
- rm -r "${ED}"/usr/share/graphviz/demo || die
+ if ! use examples; then
+ rm -rf "${ED}"/usr/share/graphviz/demo || die
fi
- if use !static-libs; then
+ if ! use static-libs; then
find "${ED}" -name '*.la' -delete || die
fi