diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-06-02 17:52:38 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-06-02 17:52:38 +0000 |
commit | 23f903a4a391122255c41c3e357d4b82029e2270 (patch) | |
tree | 154690d5b8876126a4b903404292e1befd70e299 /net-im/gaim | |
parent | 359d6dcf61d97a4ccf2d0ecc253a1677a81a76a7 (diff) | |
download | ports-23f903a4a391122255c41c3e357d4b82029e2270.tar.gz ports-23f903a4a391122255c41c3e357d4b82029e2270.zip |
Notes
Diffstat (limited to 'net-im/gaim')
-rw-r--r-- | net-im/gaim/Makefile | 10 | ||||
-rw-r--r-- | net-im/gaim/files/patch-src_protocols_silc_chat.c | 11 | ||||
-rw-r--r-- | net-im/gaim/pkg-plist | 1 |
3 files changed, 22 insertions, 0 deletions
diff --git a/net-im/gaim/Makefile b/net-im/gaim/Makefile index 446eb5af5830..9baad7faba59 100644 --- a/net-im/gaim/Makefile +++ b/net-im/gaim/Makefile @@ -44,6 +44,14 @@ LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls CONFIGURE_ARGS+= --disable-gnutls .endif +.if defined(WITH_SILC) +LIB_DEPENDS+= silcclient-1.0.3:${PORTSDIR}/devel/silc-toolkit +CONFIGURE_ARGS+= --with-silc-includes=${LOCALBASE}/include/silc +PLIST_SUB+= SILC="" +.else +PLIST_SUB+= SILC="@comment " +.endif + .if !defined(WITHOUT_NSS) LIB_DEPENDS+= nss3:${PORTSDIR}/security/nss CONFIGURE_ARGS+= --with-nspr-includes=${LOCALBASE}/include/nspr \ @@ -93,6 +101,7 @@ CONFIGURE_ARGS+= --disable-audio pre-everything:: @${ECHO_MSG} "" @${ECHO_MSG} "Gaim has the following tunable option(s):" + @${ECHO_MSG} " WITH_SILC Build with Secure Internet Live Conferencing (SILC)" @${ECHO_MSG} " WITHOUT_GTKSPELL Turns off spell checking" @${ECHO_MSG} " WITHOUT_AUDIO Disable audio support" @${ECHO_MSG} " WITH_GNUTLS Enable GNUTLS encryption support" @@ -109,6 +118,7 @@ post-patch: @${REINPLACE_CMD} -e 's|-lpthreads|${PTHREAD_LIBS:S/"//g}|g' \ -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ -e 's|-lpthread|${PTHREAD_LIBS:S/"//g}|g' \ + -e 's|-lsilc -lsilcclient ${PTHREAD_LIBS} -ldl|-lsilc -lsilcclient ${PTHREAD_LIBS} -liconv|' \ -e 's|TCL_VERSION found but 8.3 required|TCL_VERSION found but ${_TCL_VER} required|g' \ -e 's|TCL_MINOR_VERSION" -ne 3|TCL_MINOR_VERSION" -ne ${_TCL_VER:E}|' \ ${WRKSRC}/configure diff --git a/net-im/gaim/files/patch-src_protocols_silc_chat.c b/net-im/gaim/files/patch-src_protocols_silc_chat.c new file mode 100644 index 000000000000..6038346fd5d0 --- /dev/null +++ b/net-im/gaim/files/patch-src_protocols_silc_chat.c @@ -0,0 +1,11 @@ +--- src/protocols/silc/chat.c.orig Wed Jun 2 14:36:55 2004 ++++ src/protocols/silc/chat.c Wed Jun 2 14:37:03 2004 +@@ -1081,7 +1081,7 @@ + do both 1 and 2 with default keys. */ + + /* Call JOIN */ +- if (passphrase) ++ if (passphrase && strlen(passphrase)) + silc_client_command_call(client, conn, NULL, "JOIN", + channel, passphrase, "-auth", "-founder", NULL); + else diff --git a/net-im/gaim/pkg-plist b/net-im/gaim/pkg-plist index 4cbefd032a3d..0009610778ed 100644 --- a/net-im/gaim/pkg-plist +++ b/net-im/gaim/pkg-plist @@ -16,6 +16,7 @@ lib/gaim/libmsn.so lib/gaim/libnapster.so lib/gaim/libnovell.so lib/gaim/liboscar.so +%%SILC%%lib/gaim/libsilcgaim.so lib/gaim/libyahoo.so lib/gaim/libzephyr.so lib/gaim/notify.so |