app-forensics/sleuthkit: handle automagic detection of libewf #672502
authorGöktürk Yüksek <gokturk@gentoo.org>
Wed, 19 Dec 2018 17:06:08 +0000 (12:06 -0500)
committerGöktürk Yüksek <gokturk@gentoo.org>
Wed, 19 Dec 2018 17:06:08 +0000 (12:06 -0500)
Closes: https://bugs.gentoo.org/672502
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org>
app-forensics/sleuthkit/sleuthkit-4.6.0.ebuild
app-forensics/sleuthkit/sleuthkit-4.6.4-r1.ebuild

index ece90fe8ab4bf0e071734fa869d124542a88e530..94b3424354859ea3b5222b769c5ae8d350a6d3a3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -159,10 +159,8 @@ src_configure() {
                $(use_with zlib)
        )
 
-       if use ewf; then
-               tsk_compile_libewf
-               myeconfargs+=( $(use_with ewf libewf "${T}"/image) )
-       fi
+       use ewf && tsk_compile_libewf
+       myeconfargs+=( $(use_with ewf libewf "${T}"/image) )
 
        if use java; then
                pushd "${S}"/bindings/java &>/dev/null || die
index 654808fc51dd9045d7a45cde04cfc06bc67339a0..45b8e2dd049f4fc5d0bf7d3febd9d3364207293c 100644 (file)
@@ -185,10 +185,8 @@ src_configure() {
                --without-libvmdk
        )
 
-       if use ewf; then
-               tsk_compile_libewf
-               myeconfargs+=( $(use_with ewf libewf "${T}"/image) )
-       fi
+       use ewf && tsk_compile_libewf
+       myeconfargs+=( $(use_with ewf libewf "${T}"/image) )
 
        if use java; then
                pushd "${S}"/bindings/java &>/dev/null || die