NetBSD Problem Report #23010

Received: (qmail 6612 invoked by uid 605); 30 Sep 2003 02:08:18 -0000
Message-Id: <4530-1064887696@rainier.reedmedia.net>
Date: Mon, 29 Sep 2003 19:08:17 -0700
From: reed@reedmedia.net
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: reed@reedmedia.net
To: gnats-bugs@gnats.netbsd.org
Subject: x11/openmotif needs tbl
X-Send-Pr-Version: 3.95

>Number:         23010
>Category:       pkg
>Synopsis:       x11/openmotif needs tbl
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 30 02:09:00 +0000 2003
>Closed-Date:    Tue Dec 21 20:51:49 +0000 2004
>Last-Modified:  Tue Dec 21 20:51:49 +0000 2004
>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:

From: Matthias Drochner <drochner@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/23010 CVS commit: pkgsrc
Date: Fri,  9 Jul 2004 12:34:53 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	drochner
 Date:		Fri Jul  9 12:34:53 UTC 2004

 Modified Files:
 	pkgsrc/mail/fetchmail: Makefile
 	pkgsrc/x11/openmotif: Makefile

 Log Message:
 depend on groff and use ${TBL} for tbl,
 fixes PR pkg/23010 by Jeremy C. Reed


 To generate a diff of this commit:
 cvs rdiff -r1.142 -r1.143 pkgsrc/mail/fetchmail/Makefile
 cvs rdiff -r1.26 -r1.27 pkgsrc/x11/openmotif/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->feedback 
State-Changed-By: drochner 
State-Changed-When: Fri Jul 9 12:39:31 UTC 2004 
State-Changed-Why:  
fixed fetchmail/openmotif; the other pkgs mentioned are disappeared or 
don't depend on groff anymore appearently 
State-Changed-From-To: feedback->closed
State-Changed-By: reed@netbsd.org
State-Changed-When: Tue, 21 Dec 2004 20:51:49 +0000
State-Changed-Why:
The fixes appear fine. Thank you, Matthias.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.