summaryrefslogtreecommitdiff
path: root/bootstrap
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
commitf0a72948d33147512393dd82d5b50f53f50ecb45 (patch)
tree914493de49d8395b572645edd6fcf12df7e80e53 /bootstrap
parent0a12b7b9cbcb1a1e81292e1ce3c22fd45008b8a3 (diff)
downloadpkgsrc-f0a72948d33147512393dd82d5b50f53f50ecb45.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')
-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