1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00
freebsd/usr.sbin/unbound/Makefile.inc
Alex Richardson 7fa2f2a62f Rename NO_WERROR -> MK_WERROR=no
As suggested in D27598. This also supports MK_WERROR.clang=no and
MK_WERROR.gcc=no to support the existing NO_WERROR.<compiler> uses.

Reviewed By:	brooks
Differential Revision: https://reviews.freebsd.org/D27601
2021-01-07 09:31:03 +00:00

18 lines
372 B
Makefile

# $FreeBSD$
MK_WERROR= no
NO_WTHREAD_SAFETY= true
PACKAGE= unbound
.for man in ${MAN}
${man}: ${UNBOUNDDIR}/doc/${man:S/local-//}
sed -E \
-e 's/\<(fI)?u(nbound\>[^.])/\1local-u\2/g' \
-e 's/\<(fI)?U(nbound\>[^.])/\1Local-u\2/g' \
-e 's/\/local-unbound/\/unbound/g' \
<${.ALLSRC} >${.TARGET}
CLEANFILES += ${man}
.endfor
.include "../Makefile.inc"