pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/33012: groff doesn't link against pkgsrc getopt
>Number: 33012
>Category: pkg
>Synopsis: groff doesn't link against pkgsrc getopt
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Mar 06 17:00:00 +0000 2006
>Originator: Stuart Shelton
>Release: n/a
>Organization:
>Environment:
IRIX64 octane 6.5 01090133 IP30
>Description:
groff - which is a dependancy for many other packages - does not build by
default on IRIX because there is no default implementation of getopt_long.
The NetBSD/pkgsrc libgetopt does, however, provide this function - but groff
doesn't build against it!
>How-To-Repeat:
cd textproc/groff ; bmake
>Fix:
I copied /usr/bsd/lib/*getopt* into textproc/groff/.buildlink/lib32 and then
added "-lgetopt" to the various Makefile.sub's - which allows the package to
compile with the following changes:
* Add "-lgetopt" to groff-1.19.2/src/utils/xtotroff/Makefile.sub
* Add "-lgetopt" to groff-1.19.2/src/utils/pfbtops/Makefile.sub
I'm sure there's a much neater way to do this, but I'm not sufficiently
experienced with pkgsrc to know how to this properly. This does seem to do the
trick, though.
Home |
Main Index |
Thread Index |
Old Index