From 94f63965388a020f284c0bfb1644137f5f6c5690 Mon Sep 17 00:00:00 2001 From: Göktürk Yüksek Date: Sat, 6 Mar 2021 01:00:14 -0500 Subject: app-forensics/sleuthkit: prevent build the system from sourcing /usr/local MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/774039 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Göktürk Yüksek --- .../files/sleuthkit-4.10.1-exclude-usr-local.patch | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 app-forensics/sleuthkit/files/sleuthkit-4.10.1-exclude-usr-local.patch (limited to 'app-forensics/sleuthkit/files') diff --git a/app-forensics/sleuthkit/files/sleuthkit-4.10.1-exclude-usr-local.patch b/app-forensics/sleuthkit/files/sleuthkit-4.10.1-exclude-usr-local.patch new file mode 100644 index 000000000000..256dc54548b0 --- /dev/null +++ b/app-forensics/sleuthkit/files/sleuthkit-4.10.1-exclude-usr-local.patch @@ -0,0 +1,28 @@ +From: Gokturk Yuksek + +Do not allow the build system to use libs from /usr/local. + +Bug: https://bugs.gentoo.org/774039 + +--- a/configure.ac ++++ b/configure.ac +@@ -92,19 +92,6 @@ + dnl Enable multithreading by default in the presence of pthread + AS_IF([test "x$ax_pthread_ok" = "xyes" && test "x$enable_multithreading" != "xno"], [ax_multithread=yes], [ax_multithread=no]) + +-case "$host" in +-*-*-mingw*) +- dnl Adding the native /usr/local is wrong for cross-compiling +- ;; +-*) +- dnl Not all compilers include /usr/local in the include and link path +- if test -d /usr/local/include; then +- CPPFLAGS="$CPPFLAGS -I/usr/local/include" +- LDFLAGS="$LDFLAGS -L/usr/local/lib" +- fi +- ;; +-esac +- + dnl Add enable/disable option + AC_ARG_ENABLE([java], + [AS_HELP_STRING([--disable-java], [Do not build the java bindings or jar file])]) -- cgit v1.2.3-65-gdbad