tech-pkg archive

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

Re: math/R failing to install



On Wed, Jun 22, 2016 at 11:29:27AM -0600, Brook Milligan wrote:
> The math/R package is failing to install with a message about missing the cairo library.  This seems to be because the configure script is looking for both cairo and pango, not just cairo.
> 
> The following patch fixes it for me:
> 
> --- Makefile	13 Apr 2016 21:04:04 -0000	1.165
> +++ Makefile	22 Jun 2016 17:25:12 -0000
> @@ -151,6 +151,7 @@
>  .include "../../archivers/xz/buildlink3.mk"
>  .include "../../converters/libiconv/buildlink3.mk"
>  .include "../../devel/gettext-lib/buildlink3.mk"
> +.include "../../devel/pango/buildlink3.mk"
>  .include "../../devel/pcre/buildlink3.mk"
>  # uses callback interface
>  .include "../../devel/readline/buildlink3.mk”
> 
> Is this ok to commit?

pango/buildlink3.mk includes cairo/buildlink3.mk if it was built with
x11 support, which is the default. I guess you disabled that locally.

If R needs both anyway, then add it, yes.
 Thomas


Home | Main Index | Thread Index | Old Index