summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2017-06-27 14:42:30 +0000
committerRenato Botelho <garga@FreeBSD.org>2017-06-27 14:42:30 +0000
commit072286748ecd96d2afb9dc1cd63db4d3fdfc0d9b (patch)
tree72ce76a943e1c7fb762935f79f8c67d56558523e
parentFix the way ${PREFIX}/etc/sudoers.d is handled removing the workaround added in (diff)
* bitlbee always links to libintl.so and the configure script has no NLS option,
so add USES=gettext-runtime * libgcrpyt requires libgpg-error, so add it to GNUTLS_LIB_DEPENDS * nss requires nspr, so add it to NSS_LIB_DEPENDS * Add USES=ssl for OpenSSL, its library dependency was completely undeclared * otr requires libgcrypt, and thus also libgpg-error, so add those to OTR_LIB_DEPENDS * Request the installed binary be stripped * Mark LIBEVENT option BROKEN because bitlbee will not start in daemon (-D) or fork (-F) mode when compiled with libevent; it exits almost immediately after start unless run in foreground (-n). This problem has been present for at least a year, recent past version of bitlbee also do not work, and the recent update of libevent has not helped, so just mark it broken until someone takes the initiative to debug and fix the issue. * While here, remove python build dependency, it's not necessary anymore in version 3.5.1 PR: 217311 Submitted by: rezny
-rw-r--r--irc/bitlbee/Makefile21
1 files changed, 16 insertions, 5 deletions
diff --git a/irc/bitlbee/Makefile b/irc/bitlbee/Makefile
index 33ef63d953fd..c5a4d19bfd00 100644
--- a/irc/bitlbee/Makefile
+++ b/irc/bitlbee/Makefile
@@ -2,6 +2,7 @@
PORTNAME= bitlbee
PORTVERSION= 3.5.1
+PORTREVISION= 1
CATEGORIES= irc
MASTER_SITES= http://get.bitlbee.org/src/ \
LOCAL/brix
@@ -20,7 +21,7 @@ PORTDOCS= AUTHORS CHANGES CREDITS FAQ README
PORTEXAMPLES= bitlbee.conf motd.txt
HAS_CONFIGURE= yes
-USES= gmake pkgconfig python:build
+USES= gettext-runtime gmake pkgconfig
USE_RC_SUBR= bitlbee
USE_GNOME= glib20
OPTIONS_SUB= yes
@@ -46,18 +47,22 @@ TWITTER_DESC= Twitter support
YAHOO_DESC= Yahoo! Messenger support
GLIB_DESC= Use glib as event handler
LIBEVENT_DESC= Use libevent as event handler
+LIBEVENT_BROKEN= bitlbee w/ libevent fails to start as daemon or fork
OPTIONS_DEFAULT= GLIB GNUTLS JABBER OSCAR OTR TWITTER YAHOO
CONFIGURE_ARGS= --config=/var/db/bitlbee \
--pcdir=${PREFIX}/libdata/pkgconfig \
--prefix=${PREFIX} \
- --mandir=${MANPREFIX}/man
+ --mandir=${MANPREFIX}/man \
+ --strip=1
DEBUG_CONFIGURE_ON= --debug=1
+GLIB_CONFIGURE_ON= --events=glib
GNUTLS_CONFIGURE_ON= --ssl=gnutls
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls \
- libgcrypt.so:security/libgcrypt
+ libgcrypt.so:security/libgcrypt \
+ libgpg-error.so:security/libgpg-error
JABBER_CONFIGURE_OFF= --jabber=0
LIBEVENT_CONFIGURE_ON= --events=libevent --libevent=${LOCALBASE}
LIBEVENT_LIB_DEPENDS= libevent.so:devel/libevent
@@ -65,11 +70,17 @@ LIBPURPLE_CONFIGURE_ON= --purple=1
LIBPURPLE_LIB_DEPENDS= libpurple.so:net-im/libpurple
MSN_CONFIGURE_OFF= --msn=0
NSS_CONFIGURE_ON= --ssl=nss
-NSS_LIB_DEPENDS= libnss3.so:security/nss
+NSS_LIB_DEPENDS= libnss3.so:security/nss \
+ libnspr4.so:devel/nspr \
+ libplc4.so:devel/nspr \
+ libplds4.so:devel/nspr
OPENSSL_CONFIGURE_ON= --ssl=openssl
+OPENSSL_USES= ssl
OSCAR_CONFIGURE_OFF= --oscar=0
OTR_CONFIGURE_ON= --otr=1
-OTR_LIB_DEPENDS= libotr.so.5:security/libotr
+OTR_LIB_DEPENDS= libotr.so.5:security/libotr \
+ libgcrypt.so:security/libgcrypt \
+ libgpg-error.so:security/libgpg-error
SKYPE_CONFIGURE_ON= --skype=1
SKYPE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Skype4Py>0:net-im/py-skype4py
SKYPE_USES= python