summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/nepenthes/files/nepenthes-0.2.2-libdir.patch')
-rw-r--r--net-analyzer/nepenthes/files/nepenthes-0.2.2-libdir.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-analyzer/nepenthes/files/nepenthes-0.2.2-libdir.patch b/net-analyzer/nepenthes/files/nepenthes-0.2.2-libdir.patch
new file mode 100644
index 000000000000..30b88f3d7d35
--- /dev/null
+++ b/net-analyzer/nepenthes/files/nepenthes-0.2.2-libdir.patch
@@ -0,0 +1,16 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -27,11 +27,11 @@
+ *-*-freebsd*)
+ # FreeBSD forgot to install magic.h in a sane location. Bug or Feature?
+ CPPFLAGS="$CPPFLAGS -I/usr/local/include -I/usr/src/contrib/file/"
+- LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib"
++ LDFLAGS="$LDFLAGS -L/usr/local/lib "
+ ;;
+ *-*-linux*)
+ CPPFLAGS="$CPPFLAGS -D _GNU_SOURCE -I/usr/local/include"
+- LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib"
++ LDFLAGS="$LDFLAGS -L/usr/local/lib "
+ ;;
+ *-*-darwin*)
+ CPPFLAGS="$CPPFLAGS -I/opt/local/include"