diff -urN licq.orig/Makefile licq/Makefile --- licq.orig/Makefile Wed Jan 8 23:22:40 2003 +++ licq/Makefile Wed Jan 29 13:52:04 2003 @@ -15,12 +15,8 @@ MAINTAINER= dinoex@FreeBSD.org .if defined(WITH_SOCKS) -.if defined(WITH_DANTE) -LIB_DEPENDS= socks.1:${PORTSDIR}/net/dante -.else BUILD_DEPENDS= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5 .endif -.endif USE_OPENSSL= yes WRKSRC= ${WRKDIR}/${DISTNAME} @@ -30,10 +26,8 @@ .if defined(WITH_SOCKS) CONFIGURE_ARGS+=--enable-socks5 -.if defined(WITH_DANTE) CONFIGURE_ARGS+=--with-socks5-inc=${LOCALBASE}/include CONFIGURE_ENV+= LDFLAGS=-L${LOCALBASE}/lib -.endif .endif pre-configure: diff -urN licq.orig/files/patch-main.cpp licq/files/patch-main.cpp --- licq.orig/files/patch-main.cpp Thu Jan 1 01:00:00 1970 +++ licq/files/patch-main.cpp Wed Jan 29 13:20:49 2003 @@ -0,0 +1,10 @@ +--- src/main.cpp.orig Wed Jan 29 13:19:50 2003 ++++ src/main.cpp Wed Jan 29 13:20:13 2003 +@@ -10,7 +10,6 @@ + + #ifdef USE_SOCKS5 + #define SOCKS +-#define INCLUDE_PROTOTYPES + extern "C" { + #include + } diff -urN licq.orig/files/patch-socket.cpp licq/files/patch-socket.cpp --- licq.orig/files/patch-socket.cpp Wed Jan 8 23:22:41 2003 +++ licq/files/patch-socket.cpp Wed Jan 29 13:32:55 2003 @@ -22,3 +22,13 @@ if (connect(m_nDescriptor, (struct sockaddr *)&m_sRemoteAddr, sizeofSockaddr) < 0) { // errno has been set +--- src/socket.cpp.orig Wed Jan 29 13:19:59 2003 ++++ src/socket.cpp Wed Jan 29 13:20:20 2003 +@@ -42,7 +42,6 @@ + #ifdef USE_SOCKS5 + + #define SOCKS +-#define INCLUDE_PROTOTYPES + extern "C" { + #include + }