Root/package/libpcap/patches/101-makefile_create_bindir.patch

1--- a/Makefile.in
2+++ b/Makefile.in
3@@ -484,6 +484,8 @@ install: libpcap.a pcap-config
4         $(DESTDIR)$(includedir)/pcap-bpf.h
5     $(INSTALL_DATA) $(srcdir)/pcap-namedb.h \
6         $(DESTDIR)$(includedir)/pcap-namedb.h
7+ [ -d $(DESTDIR)$(bindir) ] || \
8+ (mkdir -p $(DESTDIR)$(bindir); chmod 755 $(DESTDIR)$(bindir))
9     $(INSTALL_PROGRAM) pcap-config $(DESTDIR)$(bindir)/pcap-config
10     for i in $(MAN1); do \
11         $(INSTALL_DATA) $(srcdir)/$$i \
12

Archive Download this file



interactive