summaryrefslogtreecommitdiffstats
path: root/lib/libbsnmp
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2004-04-14 16:31:54 +0000
committerharti <harti@FreeBSD.org>2004-04-14 16:31:54 +0000
commit376040b33fa95dba4cc3088c6eae6ab5e2bd1694 (patch)
tree25d03ca0322c261fab36acadf6a96c031390e861 /lib/libbsnmp
parent9baa54d87a47009f541ee0045d7ea26bf535064d (diff)
downloadFreeBSD-src-376040b33fa95dba4cc3088c6eae6ab5e2bd1694.zip
FreeBSD-src-376040b33fa95dba4cc3088c6eae6ab5e2bd1694.tar.gz
Use a MANFILTER to patch the man pages to point to the right path.
Noted by: phk
Diffstat (limited to 'lib/libbsnmp')
-rw-r--r--lib/libbsnmp/modules/Makefile.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libbsnmp/modules/Makefile.inc b/lib/libbsnmp/modules/Makefile.inc
index e9203cd..f4efa73 100644
--- a/lib/libbsnmp/modules/Makefile.inc
+++ b/lib/libbsnmp/modules/Makefile.inc
@@ -22,4 +22,8 @@ FILESGROUPS+= BMIBS
.endif
BMIBSDIR= ${SHAREDIR}/snmp/mibs
+MANFILTER= sed -e 's%@MODPATH@%${LIBDIR}/%g' \
+ -e 's%@DEFPATH@%${DEFSDIR}/%g' \
+ -e 's%@MIBSPATH@%${BMIBSDIR}/%g'
+
.include "../Makefile.inc"
OpenPOWER on IntegriCloud