diff -ruN pwlib/Makefile pwlib.new/Makefile --- pwlib/Makefile 2009-01-08 13:09:45.000000000 -0500 +++ pwlib.new/Makefile 2009-02-09 20:07:32.000000000 -0500 @@ -7,7 +7,7 @@ PORTNAME= pwlib PORTVERSION= 1.12.0 -PORTREVISION= 4 +PORTREVISION= 5 PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} @@ -32,9 +32,6 @@ .include -.if ${OSVERSION} >= 800059 -BROKEN= does not build -.endif CFLAGS= -O1 CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -O1 -I${WRKSRC}/include -I${LOCALBASE}/include" \ diff -ruN pwlib/files/patch-src_ptlib_unix_socket.cxx pwlib.new/files/patch-src_ptlib_unix_socket.cxx --- pwlib/files/patch-src_ptlib_unix_socket.cxx 1969-12-31 19:00:00.000000000 -0500 +++ pwlib.new/files/patch-src_ptlib_unix_socket.cxx 2009-02-09 20:07:19.000000000 -0500 @@ -0,0 +1,11 @@ +--- src/ptlib/unix/socket.cxx.old 2007-10-19 02:22:32.000000000 -0400 ++++ src/ptlib/unix/socket.cxx 2009-02-09 20:05:59.000000000 -0500 +@@ -1446,7 +1446,7 @@ + if ((~rtm->rtm_flags&RTF_LLINFO) + #if defined(P_NETBSD) || defined(P_QNX) + && (~rtm->rtm_flags&RTF_CLONED) // Net BSD has flag one way +-#elif !defined(P_OPENBSD) ++#elif !defined(P_OPENBSD) && defined(RTF_WASCLONED) + && (~rtm->rtm_flags&RTF_WASCLONED) // Free BSD/MAC has it another + #else + // Open BSD does not have it at all!