Current working directory /pkgsrc/source/local/libproxy-0.4.11/build
*** Error code 1
The following command caused the error:
make -f CMakeFiles/Makefile2 all
make: Fatal error: Command failed for target `all'

which is not a problem in pkgsrc. OTOH the part needing "-lsocket -lnsl"
compiles just fine, although these libraries are not mentioned in
CMakeCache.txt either, which would probably cause problems if the build
would succeed.

CMake and libproxy are just a tad to convoluted for my taste to dig any
deeper into this...

I only need this package, because it is a requirement for
net/glib-networking. Make libproxy optional there, and I have no need to
install libproxy.