From 63b67a2dd444186308eafe9c6eeccaf62ada4776 Mon Sep 17 00:00:00 2001 From: thepeople Date: Mon, 8 Mar 2010 14:21:32 +0000 Subject: fix missing parts of r19997. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20057 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/libpcap/patches/101-makefile_create_bindir.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/libpcap/patches/101-makefile_create_bindir.patch (limited to 'package/libpcap/patches/101-makefile_create_bindir.patch') 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 \ -- cgit v1.2.3