pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/bootstrap/mods/mk allow for the fact that tmac.andoc a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7d34b67f6e56
branches:  trunk
changeset: 472085:7d34b67f6e56
user:      grant <grant%pkgsrc.org@localhost>
date:      Sun Apr 04 03:00:02 2004 +0000

description:
allow for the fact that tmac.andoc and tmac.doc were renamed in the
update to groff-1.19 in NetBSD-current 20030630.

diffstat:

 bootstrap/mods/mk/NetBSD.bsd.man.mk |  13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f7589ed6907c -r 7d34b67f6e56 bootstrap/mods/mk/NetBSD.bsd.man.mk
--- a/bootstrap/mods/mk/NetBSD.bsd.man.mk       Sun Apr 04 02:01:28 2004 +0000
+++ b/bootstrap/mods/mk/NetBSD.bsd.man.mk       Sun Apr 04 03:00:02 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: NetBSD.bsd.man.mk,v 1.1.1.1 2004/03/11 13:04:00 grant Exp $
+#      $NetBSD: NetBSD.bsd.man.mk,v 1.2 2004/04/04 03:00:02 grant Exp $
 #      @(#)bsd.man.mk  8.1 (Berkeley) 6/8/93
 
 .if !target(__initialized__)
@@ -20,8 +20,15 @@
 
 TMACDIR?=      ${DESTDIR}/usr/share/tmac
 HTMLDIR?=      ${DESTDIR}/usr/share/man
-CATDEPS?=      ${TMACDIR}/tmac.andoc \
-               ${TMACDIR}/tmac.doc
+
+# tmac.andoc and tmac.doc were renamed in the update to groff-1.19 in
+# NetBSD-current 20030630.
+.if exists(${TMACDIR}/tmac.andoc)
+CATDEPS?=      ${TMACDIR}/tmac.andoc) ${TMACDIR}/tmac.doc
+.elif exists(${TMACDIR}/andoc.tmac)
+CATDEPS?=      ${TMACDIR}/andoc.tmac ${TMACDIR}/doc.tmac
+.endif
+
 MANTARGET?=    cat
 NROFF?=                nroff -Tascii
 GROFF?=                groff -Tascii



Home | Main Index | Thread Index | Old Index