summaryrefslogtreecommitdiff
path: root/app-forensics/afflib/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-12-14 13:26:14 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-12-14 13:26:14 +0000
commit6abbf81ef2f298e3221ff5e67a1f3c5f23958212 (patch)
tree25413d1cb3a0cbfe36029db32398c0f333609215 /app-forensics/afflib/files
parent9c417bacd51da6d8b57fa9f37425161d30d4b95b (diff)
gentoo resync : 14.12.2020
Diffstat (limited to 'app-forensics/afflib/files')
-rw-r--r--app-forensics/afflib/files/afflib-3.7.19-search-path.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/app-forensics/afflib/files/afflib-3.7.19-search-path.patch b/app-forensics/afflib/files/afflib-3.7.19-search-path.patch
new file mode 100644
index 000000000000..db646eb5065b
--- /dev/null
+++ b/app-forensics/afflib/files/afflib-3.7.19-search-path.patch
@@ -0,0 +1,29 @@
+diff --git a/configure.ac b/configure.ac
+index d902e4b..914ccf5 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -30,24 +30,6 @@ AC_CONFIG_MACRO_DIR([m4])
+ m4_include([m4/acx_pthread.m4])
+ ACX_PTHREAD()
+
+-if test x"${cross_compiling}" = "xno" ; then
+- # Bring additional directories where things might be found into our
+- # search path. I don't know why autoconf doesn't do this by default
+- for spfx in ${prefix} /sw /opt/local /usr/local ; do
+- AC_MSG_NOTICE([checking ${spfx}/include])
+- if test -d ${spfx}/include; then
+- CPPFLAGS="$CPPFLAGS -I${spfx}/include"
+- LDFLAGS="$LDFLAGS -L${spfx}/lib"
+- AC_MSG_NOTICE([ *** ADDING ${spfx}/include to CPPFLAGS *** ])
+- AC_MSG_NOTICE([ *** ADDING ${spfx}/lib to LDFLAGS *** ])
+- fi
+- done
+- AC_MSG_NOTICE([ CPPFLAGS = ${CPPFLAGS} ])
+- AC_MSG_NOTICE([ LDFLAGS = ${LDFLAGS} ])
+-else
+- AC_MSG_NOTICE([Cross Compiling --- will not update CPPFALGS or LDFLAGS with /usr/local, /opt/local or /sw])
+-fi
+-
+ if test -r /bin/uname.exe ; then
+ if test `uname -o` == "Msys" ; then
+ AC_MSG_NOTICE([Compiling with Msys. Setting flags appropriately.])