[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ports/95025: japanese/groff with option '-T html' makes an error.

>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
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 28 06:40:15 GMT 2006
>Originator:     Atsushi SUGAWARA
>Release:        FreeBSD 6.1-PRERELEASE i386
FreeBSD sweet.com 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #11: Sun Mar 26 09:56:18 JST 2006     sugawara_(_at_)_sweet_(_dot_)_com:/usr/src/sys/i386/compile/JAMKERNEL  i386
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.
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


-------- 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
    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}
-------- diff ends here --------

freebsd-ports-bugs_(_at_)_freebsd_(_dot_)_org mailing list
To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe_(_at_)_freebsd_(_dot_)_org"

Visit your host, monkey.org