diff options
Diffstat (limited to 'net-mgmt/bpft/files/patch-Makefile')
-rw-r--r-- | net-mgmt/bpft/files/patch-Makefile | 33 |
1 files changed, 29 insertions, 4 deletions
diff --git a/net-mgmt/bpft/files/patch-Makefile b/net-mgmt/bpft/files/patch-Makefile index 0989d9f70e9d..7404ede441db 100644 --- a/net-mgmt/bpft/files/patch-Makefile +++ b/net-mgmt/bpft/files/patch-Makefile @@ -1,11 +1,36 @@ ---- Makefile.orig Sun Mar 30 17:45:30 2003 -+++ Makefile Sun Mar 30 17:46:23 2003 +--- Makefile.orig Thu Apr 1 11:39:16 2004 ++++ Makefile Wed Apr 21 14:49:31 2004 @@ -31,7 +31,7 @@ PATH_SBINDIR=${PREFIX}/sbin # Trailing slash directory, summary traffic log files will be put there. --PATH_TOSAVE=${PREFIX}/var/trafd/ -+PATH_TOSAVE=${PREFIX}/var/bpft/ +-PATH_TOSAVE=/var/trafd/ ++PATH_TOSAVE=/usr/local/var/bpft/ # Full pathname where locate trafstat program. PATH_TRAFSTAT=${PREFIX}/bin/trafstat +@@ -92,14 +92,11 @@ + + + install: all +- ${INSTALL_DIRECTORY} ${PATH_BINDIR} +- ${INSTALL_DIRECTORY} ${PATH_SBINDIR} + ${INSTALL_PROGRAM} trafd/trafd ${PATH_SBINDIR} + ${INSTALL_SCRIPT} trafd/trafstart ${PATH_BINDIR} + ${INSTALL_SCRIPT} trafd/trafstop ${PATH_BINDIR} + ${INSTALL_SCRIPT} trafd/trafsave ${PATH_BINDIR} + ${INSTALL_SCRIPT} trafd/trafdump ${PATH_BINDIR} +- ${INSTALL_DIRECTORY} ${PATH_LOCAL_STARTUP_DIR} + ${INSTALL_SCRIPT} trafd/trafd.sh ${PATH_LOCAL_STARTUP_DIR} + ${INSTALL_PROGRAM} trafstat/trafstat ${PATH_BINDIR} + ${INSTALL_PROGRAM} trafstatd/trafstatd ${PATH_SBINDIR} +@@ -107,9 +104,7 @@ + ${INSTALL_FILE} traflog/traflog.format ${PATH_TRAFLOG_FMT} + ${INSTALL_DIRECTORY} ${PATH_TOSAVE} + @echo Install man pages: +- @${INSTALL_DIRECTORY} ${PREFIX_MANPAGES}1 + @-for iii in ${MANPAGES_1}; do echo ${PREFIX_MANPAGES}1/$${iii}.1 ; gzip <$${iii}/$${iii}.1 >$${iii}/$${iii}.1.gz ; ${INSTALL_FILE} $${iii}/$${iii}.1.gz ${PREFIX_MANPAGES}1 ; done +- @${INSTALL_DIRECTORY} ${PREFIX_MANPAGES}8 + @-for iii in ${MANPAGES_8}; do echo ${PREFIX_MANPAGES}8/$${iii}.8 ; gzip <$${iii}/$${iii}.8 >$${iii}/$${iii}.8.gz ; ${INSTALL_FILE} $${iii}/$${iii}.8.gz ${PREFIX_MANPAGES}8 ; done + @echo Done. + |