summaryrefslogtreecommitdiff
path: root/package/libpcap/patches/patch-Makefile_in
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-12-11 01:16:51 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-12-11 01:16:51 +0100
commit354e45a61f981e69a90a4a8d0b47e3b235eabaff (patch)
tree57379883ee0476a97d9e77681a30a6e4fe0b83c6 /package/libpcap/patches/patch-Makefile_in
parentc22459de6603b6e60b75c99c6c2b35e43b81783c (diff)
prepare pcap-config to be usable by other packages
Diffstat (limited to 'package/libpcap/patches/patch-Makefile_in')
-rw-r--r--package/libpcap/patches/patch-Makefile_in13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/libpcap/patches/patch-Makefile_in b/package/libpcap/patches/patch-Makefile_in
new file mode 100644
index 000000000..deb816cd6
--- /dev/null
+++ b/package/libpcap/patches/patch-Makefile_in
@@ -0,0 +1,13 @@
+--- libpcap-1.1.1.orig/Makefile.in 2010-04-05 19:54:05.000000000 +0200
++++ libpcap-1.1.1/Makefile.in 2010-12-08 23:30:21.000000000 +0100
+@@ -474,8 +474,8 @@ bpf_filter.o: bpf_filter.c
+ #
+ pcap-config: $(srcdir)/pcap-config.in
+ @rm -f $@ $@.tmp
+- sed -e 's|@includedir[@]|$(includedir)|g' \
+- -e 's|@libdir[@]|$(libdir)|g' \
++ sed -e 's|@includedir[@]|$(STAGING_DIR)$(includedir)|g' \
++ -e 's|@libdir[@]|$(STAGING_DIR)$(libdir)|g' \
+ -e 's|@LIBS[@]|$(LIBS)|g' \
+ -e 's|@V_RPATH_OPT[@]|$(V_RPATH_OPT)|g' \
+ $(srcdir)/pcap-config.in >$@.tmp