Date: Tue, 28 Mar 2006 06:36:38 GMT From: Atsushi SUGAWARA <peanutsjamjam@w9.dion.ne.jp> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/95025: japanese/groff with option '-T html' makes an error. Message-ID: <200603280636.k2S6acLH028412@www.freebsd.org> Resent-Message-ID: <200603280640.k2S6eFKB056775@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 95025 >Category: ports >Synopsis: japanese/groff with option '-T html' makes an error. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 28 06:40:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Atsushi SUGAWARA >Release: FreeBSD 6.1-PRERELEASE i386 >Organization: >Environment: FreeBSD sweet.com 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #11: Sun Mar 26 09:56:18 JST 2006 sugawara@sweet.com:/usr/src/sys/i386/compile/JAMKERNEL i386 >Description: Using a port 'japanese/groff' with option '-T html' makes an error. The error message is: -------- error message begins here -------- /usr/local/bin/groff:/usr/local/share/groff/1.18.1/font/devhtml/DESC:14: invalid `prepro' argument `/usr/local/bin/ pre-grohtml': program name required -------- error message ends here -------- There is a space between '/usr/local/bin/' and 'pre-grohtml' in 'prepro' argument in a DESC file. This one space obstructs processing. >How-To-Repeat: 1: cd to /usr/ports/japanese/groff 2: make and make install the port 3: Try this long command. /usr/bin/gzcat /usr/share/man/man1/ls.1.gz | /usr/local/bin/groff -man -T html > /dev/null 4: You will see an error message. # Please make sure you are using /usr/local/bin/groff, not /usr/bin/groff >Fix: -------- diff begins here -------- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/japanese/groff/Makefile,v retrieving revision 1.50 diff -u -r1.50 Makefile --- Makefile 9 May 2005 07:06:22 -0000 1.50 +++ Makefile 28 Mar 2006 06:28:08 -0000 @@ -125,7 +125,7 @@ cd ${WRKSRC}/doc && makeinfo --no-split groff.texinfo .endif cd ${WRKSRC} && ${FIND} font -name DESC \ - | ${XARGS} ${REINPLACE_CMD} -e 's|pro \(.*\)|pro ${PREFIX}/bin/\1|g;' + | ${XARGS} ${REINPLACE_CMD} -e 's|pro \{1,\}\(.*\)|pro ${PREFIX}/bin/\1|g;' post-install: ${POST_INSTALL_SEQ} .for F in ${SITETMACFILES} -------- diff ends here -------- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603280636.k2S6acLH028412>