pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/groff set the GROFF and TBL variables to the ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b354b1e65323
branches:  trunk
changeset: 477790:b354b1e65323
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Fri Jul 09 12:30:17 2004 +0000

description:
set the GROFF and TBL variables to the full path

diffstat:

 textproc/groff/builtin.mk |  13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diffs (23 lines):

diff -r d40fb03333d7 -r b354b1e65323 textproc/groff/builtin.mk
--- a/textproc/groff/builtin.mk Fri Jul 09 12:21:26 2004 +0000
+++ b/textproc/groff/builtin.mk Fri Jul 09 12:30:17 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index