git: 8633b2706862 - main - devel/pcsc-lite: Make polkit support optional
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 13 Jan 2024 23:30:36 UTC
The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=8633b2706862e0c80c9c85a20f318244853246f6 commit 8633b2706862e0c80c9c85a20f318244853246f6 Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2024-01-13 23:18:44 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2024-01-13 23:30:23 +0000 devel/pcsc-lite: Make polkit support optional There are scenarios where you don't want to pull in dbus and friends so make polkit support optional Replace PYTHON_NO_DEPENDS= yes with USES= python:env PR: 276289 Reviewed by: delphij (maintainer) --- devel/pcsc-lite/Makefile | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/devel/pcsc-lite/Makefile b/devel/pcsc-lite/Makefile index 1ebb77e396a1..2fae4058661c 100644 --- a/devel/pcsc-lite/Makefile +++ b/devel/pcsc-lite/Makefile @@ -12,11 +12,10 @@ LICENSE= BSD3CLAUSE GPLv3+ LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/COPYING -USES= libtool pathfix perl5 pkgconfig python shebangfix tar:bzip2 +USES= libtool pathfix perl5 pkgconfig python:env shebangfix tar:bzip2 USE_LDCONFIG= yes USE_PERL5= build USE_RC_SUBR= pcscd -PYTHON_NO_DEPENDS= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-libsystemd \ @@ -27,15 +26,20 @@ INSTALL_TARGET= install-strip SHEBANG_FILES= src/spy/pcsc-spy SUB_FILES= pkg-message -LIB_DEPENDS+= libpolkit-gobject-1.so:sysutils/polkit - -OPTIONS_DEFINE= DOCS EXAMPLES +OPTIONS_DEFINE= DOCS EXAMPLES POLKIT OPTIONS_GROUP= FEATURES OPTIONS_GROUP_FEATURES= FILTER +OPTIONS_DEFAULT= POLKIT + FEATURES_DESC= Default features knobs FILTER_DESC= Control (Ignore or Extend) reader names reported by PCSC +POLKIT_DESC= Enable polkit support + FILTER_CONFIGURE_ENABLE= filter +POLKIT_LIB_DEPENDS= libpolkit-gobject-1.so:sysutils/polkit +POLKIT_CONFIGURE_ENABLE= polkit + post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/pcsc/drivers @${MKDIR} ${STAGEDIR}${PREFIX}/lib/pcsc/services