diff options
author | Daniel Engberg <diizzy@FreeBSD.org> | 2024-01-13 23:18:44 +0000 |
---|---|---|
committer | Daniel Engberg <diizzy@FreeBSD.org> | 2024-01-13 23:30:23 +0000 |
commit | 8633b2706862e0c80c9c85a20f318244853246f6 (patch) | |
tree | d0b26722c4987e08b1fe3fee0510ae37fb0ebe3b | |
parent | e1772f61f82539a4de01ea71526dc5cacd0f79a0 (diff) | |
download | ports-8633b2706862e0c80c9c85a20f318244853246f6.tar.gz ports-8633b2706862e0c80c9c85a20f318244853246f6.zip |
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)
-rw-r--r-- | devel/pcsc-lite/Makefile | 14 |
1 files 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 |