pkgsrc-Users archive

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

2017Q2 devel/libuv on Solaris 10 workaround




Hi,

I try to build packages around php5.6 on Solaris 10 with pkgsrc2017Q2.

And stumbled on a problem where building devel/libuv ends up with a "ifaddrs.h not found” in src/unix/sunos.c:32

And I finally found a fix for this:

Just adding the following line to devel/libuv/Makefile :
CFLAGS+=-DSUNOS_NO_IFADDRS 

This corrects the compiling problem and allows to build quite a few unmissable packages ( for php, that is ): databases/mysql*-client databases/php-mysqli, database/php-pdo_mysql,php-tidy,

What do I need to do to have this included definitively in pksrc? and where to best put this compile time definition to make it clean?

Thanks,


Michel



Home | Main Index | Thread Index | Old Index