Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jan 2021 19:38:45 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r561864 - head/graphics/colord
Message-ID:  <202101171938.10HJcjok065948@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Sun Jan 17 19:38:44 2021
New Revision: 561864
URL: https://svnweb.freebsd.org/changeset/ports/561864

Log:
  graphics/colord: Add polkit build option
  
  PR:		231729
  Submitted by:	Ali Abdallah <ali.abdallah@suse.com> (previous version)
  Approved by:	maintainer timeout (kwm, >1 month)

Modified:
  head/graphics/colord/Makefile   (contents, props changed)

Modified: head/graphics/colord/Makefile
==============================================================================
--- head/graphics/colord/Makefile	Sun Jan 17 19:35:20 2021	(r561863)
+++ head/graphics/colord/Makefile	Sun Jan 17 19:38:44 2021	(r561864)
@@ -13,8 +13,7 @@ COMMENT=	Manage color profiles to accurately color inp
 LICENSE=	GPLv2
 
 BUILD_DEPENDS=	spotread:graphics/argyllcms
-LIB_DEPENDS=	libpolkit-gobject-1.so:sysutils/polkit \
-		libdbus-1.so:devel/dbus \
+LIB_DEPENDS=	libdbus-1.so:devel/dbus \
 		liblcms2.so:graphics/lcms2
 RUN_DEPENDS=	spotread:graphics/argyllcms
 
@@ -41,11 +40,15 @@ INSTALL_TARGET=	install-strip
 GLIB_SCHEMAS=	org.freedesktop.ColorHelper.gschema.xml
 
 OPTIONS_SUB=	yes
-OPTIONS_DEFINE=	MANPAGES PPROFILES VALA
-OPTIONS_DEFAULT=VALA
+OPTIONS_DEFINE=	POLKIT MANPAGES PPROFILES VALA
+OPTIONS_DEFAULT=POLKIT VALA
 
 PPROFILES_DESC=	Build extra print profiles (long build time)
+POLKIT_DESC=	Build with Polkit support
 VALA_DESC=	Build Vala language bindings
+
+POLKIT_LIB_DEPENDS=		libpolkit-gobject-1.so:sysutils/polkit
+POLKIT_CONFIGURE_ENABLE=	polkit
 
 MANPAGES_BUILD_DEPENDS=		docbook2html:textproc/docbook-utils \
 				docbook-sgml>0:textproc/docbook-sgml



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