pkgsrc-Bugs archive

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

Re: Subject: Re: pkg/51307 (textproc/mdocml does not build on Solaris 10)



Confirmed fixed by the patch. Thanks!

Hiroshi Hakoyama
hako%affrc.go.jp@localhost




On 2016/07/20, at 19:40, Sevan Janiyan wrote:

> On 20/07/2016 10:15, Hiroshi Hakoyama wrote:
>> But, because of another error about nanosleep, textproc/mdocml still =
>> does not build on Solaris 10.
> 
> 
> Please try the following patch & report back.
> 
> Index: textproc/mdocml/Makefile
> ===================================================================
> RCS file: /cvsroot/pkgsrc/textproc/mdocml/Makefile,v
> retrieving revision 1.56
> diff -u -r1.56 Makefile
> --- textproc/mdocml/Makefile    15 Jul 2016 11:18:12 -0000      1.56
> +++ textproc/mdocml/Makefile    20 Jul 2016 10:37:29 -0000
> @@ -33,6 +33,10 @@
>        ${ECHO} INSTALL_MAN=\"${INSTALL_MAN:Q}\" >>
> ${WRKSRC}/configure.local
>        ${ECHO} INSTALL_DATA=\"${INSTALL_DATA:Q}\" >>
> ${WRKSRC}/configure.local
>        ${ECHO} MANM_ROFF="mandoc-roff" >> ${WRKSRC}/configure.local
> +# Need -lrt for nanosleep(2).
> +.if ${OPSYS} == "SunOS"
> +       ${ECHO} LDADD=\"-lrt\" >> ${WRKSRC}/configure.local
> +.endif
> # Mac OS X and Solaris 10 and newer do not support static binaries.
> .if ${OPSYS} == "Darwin" || ${OPSYS} == "SunOS"
>        ${ECHO} STATIC= >> ${WRKSRC}/configure.local
> 


Home | Main Index | Thread Index | Old Index