svn commit: r411389 - head/net-im/licq

Dirk Meyer dinoex at FreeBSD.org
Sat Mar 19 10:59:48 UTC 2016


Author: dinoex
Date: Sat Mar 19 10:59:47 2016
New Revision: 411389
URL: https://svnweb.freebsd.org/changeset/ports/411389

Log:
  - remove option to disable OpenSSL
  - add option for gpgme support
  - cleanup option NLS
  PR:		207713

Modified:
  head/net-im/licq/Makefile

Modified: head/net-im/licq/Makefile
==============================================================================
--- head/net-im/licq/Makefile	Sat Mar 19 10:43:47 2016	(r411388)
+++ head/net-im/licq/Makefile	Sat Mar 19 10:59:47 2016	(r411389)
@@ -3,7 +3,7 @@
 
 PORTNAME=	base
 PORTVERSION=	${LICQ_VER}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net-im
 PKGNAMESUFFIX=	${SOCKS_SUFFIX}${PKGNAMESUFFIX2}
 
@@ -15,29 +15,28 @@ LICENSE=	GPLv2
 LIB_DEPENDS=	libboost_regex.so:${PORTSDIR}/devel/boost-libs
 
 USES=		cmake iconv
+USE_OPENSSL=	yes
 WRKSRC=		${WRKDIR}/${DISTNAME}
 LICQ_PORT?=	net-im/licq
 
 CFLAGS+=	-I${LOCALBASE}/include
 CXXFLAGS+=	-DGTEST_USE_OWN_TR1_TUPLE
 
-OPTIONS_DEFINE=	NLS OPENSSL
-OPTIONS_DEFAULT=OPENSSL
-
-OPENSSL_USE=	OPENSSL=yes
+OPTIONS_DEFINE=	NLS GPGME
+OPTIONS_DEFAULT=NLS GPGME
+OPTIONS_SUB=yes
+GPGME_DESC=	Build support for gpgme
+NLS_USES=	gettext
+NLS_CMAKE_OFF=	-DENABLE_NLS:BOOL=OFF
+
+GPGME_LIB_DEPENDS=	libgpgme.so:${PORTSDIR}/security/gpgme \
+			libassuan.so:${PORTSDIR}/security/libassuan \
+			libgpg-error.so:${PORTSDIR}/security/libgpg-error
 
 .include <bsd.port.options.mk>
 
 .include "${PORTSDIR}/${LICQ_PORT}/Makefile.inc"
 
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-PLIST_SUB+=	NLS=""
-.else
-CMAKE_ARGS+=	-DENABLE_NLS:BOOL=OFF
-PLIST_SUB+=	NLS="@comment "
-.endif
-
 pre-configure:
 	${REINPLACE_CMD} -e 's=!/bin/bash=!${LOCALBASE}/bin/bash=' \
 		${WRKSRC}/bin/sidclean.sh


More information about the svn-ports-head mailing list