aboutsummaryrefslogtreecommitdiffstats
path: root/package/libpcap/patches/101-makefile_create_bindir.patch
diff options
context:
space:
mode:
authorTravis Kemen <thepeople@openwrt.org>2010-03-08 14:21:32 +0000
committerTravis Kemen <thepeople@openwrt.org>2010-03-08 14:21:32 +0000
commitb9ef0e4fd0a07ac89eeb5da5137970ef30cf5f6d (patch)
treea32dbecd989cd9b5d3fd7dfa3c056bfe903d37f7 /package/libpcap/patches/101-makefile_create_bindir.patch
parentce81c03f0e47881ef957885f9e9eeb0b2d19ed1e (diff)
downloadmaster-187ad058-b9ef0e4fd0a07ac89eeb5da5137970ef30cf5f6d.tar.gz
master-187ad058-b9ef0e4fd0a07ac89eeb5da5137970ef30cf5f6d.tar.bz2
master-187ad058-b9ef0e4fd0a07ac89eeb5da5137970ef30cf5f6d.zip
fix missing parts of r19997.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20057 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libpcap/patches/101-makefile_create_bindir.patch')
-rw-r--r--package/libpcap/patches/101-makefile_create_bindir.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/libpcap/patches/101-makefile_create_bindir.patch b/package/libpcap/patches/101-makefile_create_bindir.patch
new file mode 100644
index 0000000000..5264fb2f68
--- /dev/null
+++ b/package/libpcap/patches/101-makefile_create_bindir.patch
@@ -0,0 +1,11 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -484,6 +484,8 @@ install: libpcap.a pcap-config
+ $(DESTDIR)$(includedir)/pcap-bpf.h
+ $(INSTALL_DATA) $(srcdir)/pcap-namedb.h \
+ $(DESTDIR)$(includedir)/pcap-namedb.h
++ [ -d $(DESTDIR)$(bindir) ] || \
++ (mkdir -p $(DESTDIR)$(bindir); chmod 755 $(DESTDIR)$(bindir))
+ $(INSTALL_PROGRAM) pcap-config $(DESTDIR)$(bindir)/pcap-config
+ for i in $(MAN1); do \
+ $(INSTALL_DATA) $(srcdir)/$$i \