diff options
author | drochner <drochner@pkgsrc.org> | 2004-07-09 12:30:17 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2004-07-09 12:30:17 +0000 |
commit | 36b5101f64b705c22da54fe327467477c8eca6e5 (patch) | |
tree | 8b5f10e5f59a8085c99d692f74dc2884a8fc6ee3 /textproc | |
parent | 2db1f0217f455141aad5a59978baa810d60da66e (diff) | |
download | pkgsrc-36b5101f64b705c22da54fe327467477c8eca6e5.tar.gz |
set the GROFF and TBL variables to the full path
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/groff/builtin.mk | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/textproc/groff/builtin.mk b/textproc/groff/builtin.mk index 29db228727a..1077793feeb 100644 --- a/textproc/groff/builtin.mk +++ b/textproc/groff/builtin.mk @@ -1,10 +1,15 @@ -# $NetBSD: builtin.mk,v 1.1 2004/07/07 19:06:23 drochner Exp $ +# $NetBSD: builtin.mk,v 1.2 2004/07/09 12:30:17 drochner Exp $ .if !defined(IS_BUILTIN.groff) -IS_BUILTIN.groff= no . if exists(/usr/bin/groff) -IS_BUILTIN.groff= yes +IS_BUILTIN.groff= yes +_GROFFPATH= /usr/bin +. else +IS_BUILTIN.groff= no +_GROFFPATH= ${LOCALBASE}/bin . endif .endif # IS_BUILTIN.groff -USE_BUILTIN.groff?= ${IS_BUILTIN.groff} +USE_BUILTIN.groff?= ${IS_BUILTIN.groff} +GROFF?= ${_GROFFPATH}/groff +TBL?= ${_GROFFPATH}/tbl |