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 :
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?