pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/bootstrap/bmake/mk Different operating systems have di...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/81263f125fce
branches:  trunk
changeset: 493776:81263f125fce
user:      christos <christos%pkgsrc.org@localhost>
date:      Sat May 14 19:16:16 2005 +0000

description:
Different operating systems have different places where they store the
groff macro files. Since we don't have a pkgsrc groff tool dependency,
we ignore the dependencies if the macro files are not there.

diffstat:

 bootstrap/bmake/mk/bsd.man.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r aef765bd6284 -r 81263f125fce bootstrap/bmake/mk/bsd.man.mk
--- a/bootstrap/bmake/mk/bsd.man.mk     Sat May 14 19:01:14 2005 +0000
+++ b/bootstrap/bmake/mk/bsd.man.mk     Sat May 14 19:16:16 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.man.mk,v 1.1.1.1 2004/03/11 13:04:17 grant Exp $
+#      $NetBSD: bsd.man.mk,v 1.2 2005/05/14 19:16:16 christos Exp $
 #      @(#)bsd.man.mk  8.1 (Berkeley) 6/8/93
 
 .if !target(__initialized__)
@@ -20,8 +20,10 @@
 
 TMACDIR?=      ${DESTDIR}/usr/share/groff/tmac
 HTMLDIR?=      ${DESTDIR}/usr/share/man
+if exists(${TMACDIR}/tmac.andoc) && exists(${TMACDIR}/tmac.doc)
 CATDEPS?=      ${TMACDIR}/tmac.andoc \
                ${TMACDIR}/tmac.doc
+.endif
 MANTARGET?=    cat
 NROFF?=                nroff -Tascii
 GROFF?=                groff -Tascii



Home | Main Index | Thread Index | Old Index