summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorgrant <grant>2004-04-04 03:00:02 +0000
committergrant <grant>2004-04-04 03:00:02 +0000
commitc424424ab4085a8faf90a7e64901bc1c47b05627 (patch)
tree914493de49d8395b572645edd6fcf12df7e80e53 /bootstrap
parent52b3689b8f625f888e53359049d2bb208790f580 (diff)
downloadpkgsrc-c424424ab4085a8faf90a7e64901bc1c47b05627.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