summaryrefslogtreecommitdiff
path: root/package/libpcap/patches/patch-pcap-config_in
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-18 18:10:19 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-18 18:10:19 +0100
commit46b2bb3001ce838ba2483a08418587d8a027f3a9 (patch)
treeb2b618839b5afcc859fcb90556e6f199d9a9a10c /package/libpcap/patches/patch-pcap-config_in
parent88d3e6d6c572143bd95a589a44e30bfefd616b88 (diff)
parent902ee7e7b23751ca7a8264d36a837aa4aae12032 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/libpcap/patches/patch-pcap-config_in')
-rw-r--r--package/libpcap/patches/patch-pcap-config_in27
1 files changed, 27 insertions, 0 deletions
diff --git a/package/libpcap/patches/patch-pcap-config_in b/package/libpcap/patches/patch-pcap-config_in
new file mode 100644
index 000000000..b50f6fb48
--- /dev/null
+++ b/package/libpcap/patches/patch-pcap-config_in
@@ -0,0 +1,27 @@
+--- libpcap-1.1.1.orig/pcap-config.in 2010-03-12 02:56:54.000000000 +0100
++++ libpcap-1.1.1/pcap-config.in 2011-01-06 21:29:12.000000000 +0100
+@@ -29,16 +29,6 @@ do
+ esac
+ shift
+ done
+-if [ "@V_RPATH_OPT@" != "" ]
+-then
+- #
+- # If libdir isn't /usr/lib, add it to the run-time linker path.
+- #
+- if [ "@libdir@" != "/usr/lib" ]
+- then
+- RPATH=@V_RPATH_OPT@@libdir@
+- fi
+-fi
+ if [ "$static" = 1 ]
+ then
+ #
+@@ -77,6 +67,6 @@ else
+ echo "-I@includedir@"
+ elif [ "$show_libs" = 1 ]
+ then
+- echo "-L@libdir@ $RPATH -lpcap"
++ echo "-L@libdir@ -lpcap"
+ fi
+ fi