Subject: pkg/23010: x11/openmotif needs tbl
To: None <gnats-bugs@gnats.netbsd.org>
From: None <reed@reedmedia.net>
List: netbsd-bugs
Date: 09/29/2003 19:08:17
>Number: 23010
>Category: pkg
>Synopsis: x11/openmotif needs tbl
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Sep 30 02:09:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.6.1_STABLE
>Organization:
http://bsd.reedmedia.net/
>Environment:
System: NetBSD rainier.reedmedia.net 1.6.1_STABLE NetBSD 1.6.1_STABLE (GENERIC) #0: Tue Aug 12 02:52:57 PDT 2003 reed@rainier.reedmedia.net:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
(Originally posted to tech-pkg on 25/Sep/2003.)
I have been doing lots of builds lately without any groff software.
tbl is used in:
comms/ifcico-cm/Makefile
x11/openmotif/Makefile
mail/fetchmail/Makefile
net/netatalk-asun/Makefile
devel/gettext needs groff too.
May I commit the following fix for x11/openmotif?
(Should I make it so TBL=tbl if /usr/bin/tbl it exists?)
>How-To-Repeat:
>Fix:
Index: x11/openmotif/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/x11/openmotif/Makefile,v
retrieving revision 1.22
diff -b -u -r1.22 Makefile
--- x11/openmotif/Makefile 2003/09/09 12:23:28 1.22
+++ x11/openmotif/Makefile 2003/09/30 02:05:59
@@ -41,6 +41,13 @@
USE_GNU_TOOLS+= make
.endif
+.if !exists(/usr/bin/tbl)
+BUILD_DEPENDS+= groff-[0-9]*:../../textproc/groff
+TBL= ${LOCALBASE}/bin/tbl
+.else
+TBL= /usr/bin/tbl
+.endif
+
post-extract:
${CP} ${FILESDIR}/NoInstall.rules ${WRKSRC}/config/cf/NoInstall.rules
${CP} ${FILESDIR}/OpenMotif.def ${WRKSRC}/config/cf/Motif.def
@@ -96,7 +103,7 @@
post-build:
cd ${WRKSRC}/doc/man; \
for file in man1/*.1 man3/*.3 man4/*.4 man5/*.5; do \
- tbl $${file} > $${file}.tblized; \
+ ${TBL} $${file} > $${file}.tblized; \
${MV} -f $${file}.tblized $${file}; \
done
also need fixes for
comms/ifcico-cm/Makefile
x11/openmotif/Makefile
mail/fetchmail/Makefile
net/netatalk-asun/Makefile
devel/gettext needs groff too.
>Release-Note:
>Audit-Trail:
>Unformatted: