Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jul 2018 19:17:29 +0000 (UTC)
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r474893 - head/security/qtkeychain
Message-ID:  <201807181917.w6IJHTK6066975@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arrowd
Date: Wed Jul 18 19:17:28 2018
New Revision: 474893
URL: https://svnweb.freebsd.org/changeset/ports/474893

Log:
  security/qtkeychain: Add dependency to libsecret and link to it correctly.
  
  PR:		229837
  Reported by:	Piotr Kubaj <pkubaj@anongoth.pl>
  Approved by:	tcberner (mentor)

Modified:
  head/security/qtkeychain/Makefile

Modified: head/security/qtkeychain/Makefile
==============================================================================
--- head/security/qtkeychain/Makefile	Wed Jul 18 19:05:39 2018	(r474892)
+++ head/security/qtkeychain/Makefile	Wed Jul 18 19:17:28 2018	(r474893)
@@ -3,6 +3,7 @@
 PORTNAME=	qtkeychain
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.9.0
+PORTREVISION=	1
 CATEGORIES=	security
 PKGNAMESUFFIX=	-${FLAVOR}
 
@@ -15,11 +16,10 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 FLAVORS=	qt4 qt5
 FLAVOR?=	${FLAVORS:[1]}
 
-USES=		cmake
+USES=		cmake localbase:ldflags pkgconfig
 USE_GITHUB=	yes
 GH_ACCOUNT=	frankosterfeld
 USE_LDCONFIG=	yes
-USE_KDE=	ecm
 PLIST_SUB+=	VERSION=${PORTVERSION}
 
 .  if ${FLAVOR} == qt4
@@ -35,5 +35,12 @@ PLIST_SUB+=	PLIST_QT_PREFIX_UPCASE=Qt5 PLIST_QT_PREFIX
 PLIST=		${PKGDIR}/pkg-plist.${FLAVOR}
 .  endif
 
+OPTIONS_DEFINE=		LIBSECRET
+OPTIONS_DEFAULT=	LIBSECRET
+
+LIBSECRET_DESC=		Enable libsecret backend
+
+LIBSECRET_LIB_DEPENDS=	libsecret-1.so:security/libsecret
+LIBSECRET_CMAKE_BOOL=	LIBSECRET_SUPPORT
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807181917.w6IJHTK6066975>