Diff for /elwix/patches/freebsd.tools-dir.patch between versions 1.1.2.1 and 1.1.2.2

version 1.1.2.1, 2017/06/13 17:57:53 version 1.1.2.2, 2017/06/15 13:44:53
Line 1 Line 1
 Index: tools/tools/ifinfo/Makefile  
 ===================================================================  
 --- tools/tools/ifinfo/Makefile (revision 291302)  
 +++ tools/tools/ifinfo/Makefile (working copy)  
 @@ -3,5 +3,6 @@  
  PROG=  ifinfo  
  SRCS=  ifinfo.c rfc1650.c  
  MAN=  
 +BINDIR=        /usr/local/bin  
    
  .include <bsd.prog.mk>  
 Index: tools/tools/mctest/Makefile  
 ===================================================================  
 --- tools/tools/mctest/Makefile (revision 291302)  
 +++ tools/tools/mctest/Makefile (working copy)  
 @@ -1,6 +1,7 @@  
  # $FreeBSD$  
    
  PROG_CXX=   mctest   
 +BINDIR=        /usr/local/bin  
  DPADD= ${LIBPTHREAD}  
  LDADD= -lpthread  
    
 Index: tools/tools/netmap/Makefile  Index: tools/tools/netmap/Makefile
 ===================================================================  ===================================================================
 --- tools/tools/netmap/Makefile (revision 291302)  --- tools/tools/netmap/Makefile (revision 291302)
 +++ tools/tools/netmap/Makefile (working copy)  +++ tools/tools/netmap/Makefile (working copy)
 @@ -4,6 +4,7 @@  
  # For multiple programs using a single source file each,  
  # we can just define 'progs' and create custom targets.  
  PROGS  =       pkt-gen bridge vale-ctl  
 +BINDIR =       /usr/local/sbin  
    
  CLEANFILES = $(PROGS) *.o  
  MAN=  
 @@ -30,3 +31,8 @@  @@ -30,3 +31,8 @@
     
  vale-ctl: vale-ctl.o   vale-ctl: vale-ctl.o
Line 40  Index: tools/tools/netmap/Makefile Line 9  Index: tools/tools/netmap/Makefile
 +  +
 +install: ${PROGS}  +install: ${PROGS}
 +       for i in ${PROGS}; do \  +       for i in ${PROGS}; do \
+               install $$i ${DESTDIR}${BINDIR}; \+               install $$i ${DESTDIR}; \
 +       done  +       done
 Index: tools/tools/netrate/netblast/Makefile  
 ===================================================================  
 --- tools/tools/netrate/netblast/Makefile       (revision 291302)  
 +++ tools/tools/netrate/netblast/Makefile       (working copy)  
 @@ -4,5 +4,6 @@  
    
  PROG=  netblast  
  MAN=  
 +BINDIR=        /usr/local/bin  
    
  .include <bsd.prog.mk>  
 Index: tools/tools/netrate/netreceive/Makefile  
 ===================================================================  
 --- tools/tools/netrate/netreceive/Makefile     (revision 291302)  
 +++ tools/tools/netrate/netreceive/Makefile     (working copy)  
 @@ -5,6 +5,7 @@  
  PROG=  netreceive  
  MAN=  
  LDFLAGS += -lpthread  
 +BINDIR=        /usr/local/bin  
    
  WARNS?=        3  
    
 Index: tools/tools/netrate/netsend/Makefile  
 ===================================================================  
 --- tools/tools/netrate/netsend/Makefile        (revision 291302)  
 +++ tools/tools/netrate/netsend/Makefile        (working copy)  
 @@ -5,5 +5,6 @@  
  CFLAGS+=       -Wall  
  PROG=  netsend  
  MAN=  
 +BINDIR?=       /usr/local/bin  
     
  .include <bsd.prog.mk>   .include <bsd.prog.mk>

Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>