summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tcltk/snack/snack-2.2.10-r7.ebuild')
-rw-r--r--dev-tcltk/snack/snack-2.2.10-r7.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-tcltk/snack/snack-2.2.10-r7.ebuild b/dev-tcltk/snack/snack-2.2.10-r7.ebuild
index 964ec12d5b46..8e0d447a69cd 100644
--- a/dev-tcltk/snack/snack-2.2.10-r7.ebuild
+++ b/dev-tcltk/snack/snack-2.2.10-r7.ebuild
@@ -58,9 +58,10 @@ src_configure() {
use alsa && myconf+=" --enable-alsa"
- use vorbis && \
+ if use vorbis; then
myconf+=" --with-ogg-include="${EPREFIX}"/usr/include"
myconf+=" --with-ogg-lib="${EPREFIX}"/usr/$(get_libdir)"
+ fi
econf \
--libdir="${EPREFIX}"/usr/$(get_libdir) \