diff options
Diffstat (limited to 'mk/tools/replace.mk')
-rw-r--r-- | mk/tools/replace.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/tools/replace.mk b/mk/tools/replace.mk index da2172fd2d1..46e2f47a995 100644 --- a/mk/tools/replace.mk +++ b/mk/tools/replace.mk @@ -1,4 +1,4 @@ -# $NetBSD: replace.mk,v 1.205 2008/02/07 12:10:36 tnn Exp $ +# $NetBSD: replace.mk,v 1.206 2008/02/07 16:53:14 tnn Exp $ # # Copyright (c) 2005 The NetBSD Foundation, Inc. # All rights reserved. @@ -897,7 +897,8 @@ _TOOLS.groff= groff nroff soelim tbl MAKEFLAGS+= TOOLS_IGNORE.${_t_}= . elif !empty(_TOOLS_USE_PKGSRC.${_t_}:M[yY][eE][sS]) || \ !empty(_TOOLS_USE_PKGSRC.groff:M[yY][eE][sS]) -. if !empty(_TOOLS_USE_PKGSRC.groff:M[yY][eE][sS]) +. if defined(_TOOLS_USE_PKGSRC.groff) && \ + !empty(_TOOLS_USE_PKGSRC.groff:M[yY][eE][sS]) _TOOLS_USE_PKGSRC.${_t_}= yes . endif TOOLS_DEPENDS.${_t_}?= groff>=1.19.2nb3:../../textproc/groff |