Do not use perl where sed is more than adequate.
This commit is contained in:
parent
b7c8cbabf9
commit
c3fa6e4e46
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=94629
@ -10,7 +10,10 @@ RUNDIR= /var/run
|
|||||||
ETCDIR= /etc
|
ETCDIR= /etc
|
||||||
DBDIR= /var/db
|
DBDIR= /var/db
|
||||||
|
|
||||||
MANFILTER= perl -pe 's\#DBDIR\#${DBDIR}\#g;s\#ETCDIR\#${ETCDIR}\#g;s\#CLIENTBINDIR\#${CLIENTBINDIR}\#g;s\#RUNDIR\#${RUNDIR}\#g;'
|
MANFILTER= sed -e 's|DBDIR|${DBDIR}|g' \
|
||||||
|
-e 's|ETCDIR|${ETCDIR}|g' \
|
||||||
|
-e 's|CLIENTBINDIR|${CLIENTBINDIR}|g' \
|
||||||
|
-e 's|RUNDIR|${RUNDIR}|g'
|
||||||
|
|
||||||
.if exists(${.OBJDIR}/../common)
|
.if exists(${.OBJDIR}/../common)
|
||||||
LIBDHCP= ${.OBJDIR}/../common/libdhcp.a
|
LIBDHCP= ${.OBJDIR}/../common/libdhcp.a
|
||||||
|
Loading…
Reference in New Issue
Block a user