source: trunk/package/libpcap/patches/101-makefile_create_bindir.patch @ 20057

Last change on this file since 20057 was 20057, checked in by thepeople, 7 years ago

fix missing parts of r19997.

File size: 443 bytes
  • Makefile.in

    a b install: libpcap.a pcap-config 
    484484            $(DESTDIR)$(includedir)/pcap-bpf.h 
    485485        $(INSTALL_DATA) $(srcdir)/pcap-namedb.h \ 
    486486            $(DESTDIR)$(includedir)/pcap-namedb.h 
     487        [ -d $(DESTDIR)$(bindir) ] || \ 
     488            (mkdir -p $(DESTDIR)$(bindir); chmod 755 $(DESTDIR)$(bindir)) 
    487489        $(INSTALL_PROGRAM) pcap-config $(DESTDIR)$(bindir)/pcap-config 
    488490        for i in $(MAN1); do \ 
    489491                $(INSTALL_DATA) $(srcdir)/$$i \ 
Note: See TracBrowser for help on using the repository browser.