diff -urN /usr/ports/net/rfbproxy/Makefile net/rfbproxy/Makefile --- /usr/ports/net/rfbproxy/Makefile Fri Sep 6 01:09:27 2002 +++ net/rfbproxy/Makefile Sat Oct 5 15:21:42 2002 @@ -16,7 +16,8 @@ LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" MAN1= rfbproxy.1 diff -urN /usr/ports/net/rfbproxy/files/patch-rfbproxy.c net/rfbproxy/files/patch-rfbproxy.c --- /usr/ports/net/rfbproxy/files/patch-rfbproxy.c Thu Jan 1 09:00:00 1970 +++ net/rfbproxy/files/patch-rfbproxy.c Sat Oct 5 15:28:29 2002 @@ -0,0 +1,20 @@ +--- rfbproxy.c.orig Sat Mar 2 06:58:29 2002 ++++ rfbproxy.c Sat Oct 5 15:27:33 2002 +@@ -59,6 +59,9 @@ + #if HAVE_STDINT_H + # include + #else ++#if HAVE_INTTYPES_H ++# include ++#else + # if HAVE_U_INTXX_T + typedef u_int16_t uint16_t; + typedef u_int32_t uint32_t; +@@ -66,6 +69,7 @@ + typedef unsigned short uint16_t; + typedef unsigned long uint32_t; + # endif ++#endif + #endif + + #include