pkgsrc-Bugs archive

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

pkg/48974: textproc/mdocml does not build on Solaris 10



>Number:         48974
>Category:       pkg
>Synopsis:       textproc/mdocml does not build on Solaris 10
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 08 07:55:00 +0000 2014
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
textproc/mdocml does not link on Solaris 10:

--- mandoc ---
Undefined                       first referenced
 symbol                             in file
asprintf                            libmandoc.a(mdoc.o)
ld: fatal: Symbol referencing errors. No output written to mandoc
collect2: error: ld returned 1 exit status
*** [mandoc] Error code 1

because Solaris 10 does not provide asprintf in libc.

There is an implementation in devel/gettext-asprintf. What is the correct way 
to tell mdocml to additionally link this library? Simply adding

.include "../../devel/gettext-asprintf/buildlink3.mk"

is not enough, and I haven't found the answer in the pkgsrc guide. Maybe I 
didn't look hard enough?
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index