summaryrefslogtreecommitdiff
blob: dc7ce1529b4117667cb7c150b5d2ea68b2cd81fb (plain)
1
2
3
4
5
6
7
8
9
10
11
--- libpcap-1.0.0~/Makefile.in	2008-11-08 13:26:54.000000000 +0100
+++ libpcap-1.0.0/Makefile.in	2008-11-08 13:41:06.000000000 +0100
@@ -445,6 +445,8 @@
 	    $(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 \