commit:     27a9adf55f85c8443fd535f4e3f3345176215130
Author:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 19 17:06:08 2018 +0000
Commit:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Wed Dec 19 17:06:08 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27a9adf5

app-forensics/sleuthkit: handle automagic detection of libewf #672502

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 <AT> gentoo.org>

 app-forensics/sleuthkit/sleuthkit-4.6.0.ebuild    | 8 +++-----
 app-forensics/sleuthkit/sleuthkit-4.6.4-r1.ebuild | 6 ++----
 2 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/app-forensics/sleuthkit/sleuthkit-4.6.0.ebuild 
b/app-forensics/sleuthkit/sleuthkit-4.6.0.ebuild
index ece90fe8ab4..94b34243548 100644
--- a/app-forensics/sleuthkit/sleuthkit-4.6.0.ebuild
+++ b/app-forensics/sleuthkit/sleuthkit-4.6.0.ebuild
@@ -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

diff --git a/app-forensics/sleuthkit/sleuthkit-4.6.4-r1.ebuild 
b/app-forensics/sleuthkit/sleuthkit-4.6.4-r1.ebuild
index 654808fc51d..45b8e2dd049 100644
--- a/app-forensics/sleuthkit/sleuthkit-4.6.4-r1.ebuild
+++ b/app-forensics/sleuthkit/sleuthkit-4.6.4-r1.ebuild
@@ -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

Reply via email to