Skip to content

Commit

Permalink
app-forensics/sleuthkit: handle automagic detection of libewf #672502
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/672502
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Göktürk Yüksek <[email protected]>
  • Loading branch information
gktrk committed Dec 19, 2018
1 parent 08f66f9 commit 27a9adf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
8 changes: 3 additions & 5 deletions app-forensics/sleuthkit/sleuthkit-4.6.0.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
6 changes: 2 additions & 4 deletions app-forensics/sleuthkit/sleuthkit-4.6.4-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 27a9adf

Please sign in to comment.