summaryrefslogtreecommitdiff
path: root/bootstrap/mods
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-04-04 03:00:02 +0000
committergrant <grant@pkgsrc.org>2004-04-04 03:00:02 +0000
commit039c81c5d1ddd0f198b95abe0d89781648563c6b (patch)
tree914493de49d8395b572645edd6fcf12df7e80e53 /bootstrap/mods
parent2cf75961f46d78a59341285215b65866942ce837 (diff)
downloadpkgsrc-039c81c5d1ddd0f198b95abe0d89781648563c6b.tar.gz
allow for the fact that tmac.andoc and tmac.doc were renamed in the
update to groff-1.19 in NetBSD-current 20030630.
Diffstat (limited to 'bootstrap/mods')
-rw-r--r--bootstrap/mods/mk/NetBSD.bsd.man.mk13
1 files changed, 10 insertions, 3 deletions
diff --git a/bootstrap/mods/mk/NetBSD.bsd.man.mk b/bootstrap/mods/mk/NetBSD.bsd.man.mk
index a09adc77b26..db8549b70c3 100644
--- a/bootstrap/mods/mk/NetBSD.bsd.man.mk
+++ b/bootstrap/mods/mk/NetBSD.bsd.man.mk
@@ -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 @@ cleandir: cleanman
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