summaryrefslogtreecommitdiff
path: root/net-im/licq
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-01-31 04:48:15 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-01-31 04:48:15 +0000
commit86a6f410382c357a4902585d43cc52194d4f0f0a (patch)
treeea256f880da2b6063bca0314251165284d2b9f1a /net-im/licq
parentUpdate to 20030130. (diff)
- allows licq used as master-port. e.G. for socks.
- remove WITH_DANTE - fix SOCKS support to work with net/socks5-port. PR: 47636 Submitted by: lofi@lofi.dyndns.org
Notes
Notes: svn path=/head/; revision=74325
Diffstat (limited to 'net-im/licq')
-rw-r--r--net-im/licq/Makefile9
-rw-r--r--net-im/licq/files/patch-main.cpp10
-rw-r--r--net-im/licq/files/patch-socket.cpp10
3 files changed, 22 insertions, 7 deletions
diff --git a/net-im/licq/Makefile b/net-im/licq/Makefile
index 40963be65477..90485a9a74ac 100644
--- a/net-im/licq/Makefile
+++ b/net-im/licq/Makefile
@@ -15,26 +15,21 @@ PKGNAMESUFFIX= -socks
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}
+INCDIR?= ${.CURDIR}
# workaround for installed autoconf/automake
CONFIGURE_ARGS+=--program-transform-name=s,y,y,
.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:
@${MV} ${WRKSRC}/src/licq.conf.h ${WRKSRC}/src/licq.conf.h.sed
@@ -45,5 +40,5 @@ post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.pre.mk>
-.include "${.CURDIR}/Makefile.inc"
+.include "${INCDIR}/Makefile.inc"
.include <bsd.port.post.mk>
diff --git a/net-im/licq/files/patch-main.cpp b/net-im/licq/files/patch-main.cpp
new file mode 100644
index 000000000000..e6ca09b4f421
--- /dev/null
+++ b/net-im/licq/files/patch-main.cpp
@@ -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 <socks.h>
+ }
diff --git a/net-im/licq/files/patch-socket.cpp b/net-im/licq/files/patch-socket.cpp
index 809c4e6a6ee6..36d9f1d9f585 100644
--- a/net-im/licq/files/patch-socket.cpp
+++ b/net-im/licq/files/patch-socket.cpp
@@ -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 <socks.h>
+ }