=> Bootstrap dependency digest>=20010302: found digest-20111104
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for socket++-1.12.10nb2
Making all in socket++
/usr/bin/gnumake  all-am
/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I..  -no-cpp-precomp -isystem /usr/include  -pipe -O2 -MT sockstream.lo -MD -MP -MF .deps/sockstream.Tpo -c -o sockstream.lo sockstream.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -no-cpp-precomp -isystem /usr/include -pipe -O2 -MT sockstream.lo -MD -MP -MF .deps/sockstream.Tpo -c sockstream.cpp  -fno-common -DPIC -o .libs/sockstream.o
sockstream.cpp:72:2: error: invalid preprocessing directive #typedef
In file included from /usr/include/c++/4.2.1/bits/os_defines.h:61,
                 from /usr/include/c++/4.2.1/bits/c++config.h:41,
                 from /usr/include/c++/4.2.1/iostream:44,
                 from ../socket++/sockstream.h:36,
                 from sockstream.cpp:64:
/usr/include/unistd.h:649: error: declaration of C function 'int gethostname(char*, size_t)' conflicts with
./local.h:94: error: previous declaration 'int gethostname(char*, int)' here
gnumake[2]: *** [sockstream.lo] Error 1
gnumake[1]: *** [all] Error 2
gnumake: *** [all-recursive] Error 1
*** Error code 2

Stop.
bmake: stopped in /Users/kristerw/pbulk/pkgsrc/net/socket++
*** Error code 1

Stop.
bmake: stopped in /Users/kristerw/pbulk/pkgsrc/net/socket++