pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/polkit polkit: remove introspection option, e...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/22d1dae7f350
branches:  trunk
changeset: 380505:22d1dae7f350
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Jun 07 18:03:55 2022 +0000

description:
polkit: remove introspection option, enabling it by default

It was default-on, but bump PKGREVISION to be on the safe side
for those who disabled it.

diffstat:

 security/polkit/Makefile   |   5 ++++-
 security/polkit/PLIST      |  10 +++++-----
 security/polkit/options.mk |  17 ++++-------------
 3 files changed, 13 insertions(+), 19 deletions(-)

diffs (85 lines):

diff -r a31aa33c806e -r 22d1dae7f350 security/polkit/Makefile
--- a/security/polkit/Makefile  Tue Jun 07 18:00:27 2022 +0000
+++ b/security/polkit/Makefile  Tue Jun 07 18:03:55 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2022/03/12 08:01:51 nia Exp $
+# $NetBSD: Makefile,v 1.42 2022/06/07 18:03:55 wiz Exp $
 
 DISTNAME=      polkit-0.120
 PKGREVISION=   2
@@ -39,6 +39,7 @@
 CONFIGURE_ARGS+=       --disable-libsystemd-login
 CONFIGURE_ARGS+=       --disable-libelogind
 CONFIGURE_ARGS+=       --with-duktape
+CONFIGURE_ARGS+=       --enable-introspection
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -84,5 +85,7 @@
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/gettext-tools/msgfmt-desktop.mk"
 .include "../../devel/glib2/buildlink3.mk"
+BUILDLINK_DEPMETHOD.gobject-introspection+=    build
+.include "../../devel/gobject-introspection/buildlink3.mk"
 .include "../../textproc/expat/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r a31aa33c806e -r 22d1dae7f350 security/polkit/PLIST
--- a/security/polkit/PLIST     Tue Jun 07 18:00:27 2022 +0000
+++ b/security/polkit/PLIST     Tue Jun 07 18:03:55 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2021/11/01 10:20:48 wiz Exp $
+@comment $NetBSD: PLIST,v 1.7 2022/06/07 18:03:55 wiz Exp $
 bin/pk-example-frobnicate
 bin/pkaction
 bin/pkcheck
@@ -32,8 +32,8 @@
 include/polkit-1/polkitagent/polkitagentsession.h
 include/polkit-1/polkitagent/polkitagenttextlistener.h
 include/polkit-1/polkitagent/polkitagenttypes.h
-${PLIST.introspection}lib/girepository-1.0/Polkit-1.0.typelib
-${PLIST.introspection}lib/girepository-1.0/PolkitAgent-1.0.typelib
+lib/girepository-1.0/Polkit-1.0.typelib
+lib/girepository-1.0/PolkitAgent-1.0.typelib
 lib/libpolkit-agent-1.la
 lib/libpolkit-gobject-1.la
 lib/pkgconfig/polkit-agent-1.pc
@@ -52,8 +52,8 @@
 share/examples/polkit/polkit-1/rules.d/50-default.rules
 share/gettext/its/polkit.its
 share/gettext/its/polkit.loc
-${PLIST.introspection}share/gir-1.0/Polkit-1.0.gir
-${PLIST.introspection}share/gir-1.0/PolkitAgent-1.0.gir
+share/gir-1.0/Polkit-1.0.gir
+share/gir-1.0/PolkitAgent-1.0.gir
 share/locale/cs/LC_MESSAGES/polkit-1.mo
 share/locale/da/LC_MESSAGES/polkit-1.mo
 share/locale/de/LC_MESSAGES/polkit-1.mo
diff -r a31aa33c806e -r 22d1dae7f350 security/polkit/options.mk
--- a/security/polkit/options.mk        Tue Jun 07 18:00:27 2022 +0000
+++ b/security/polkit/options.mk        Tue Jun 07 18:03:55 2022 +0000
@@ -1,21 +1,12 @@
-# $NetBSD: options.mk,v 1.4 2020/11/05 17:06:57 nia Exp $
+# $NetBSD: options.mk,v 1.5 2022/06/07 18:03:55 wiz Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.polkit
-PKG_SUPPORTED_OPTIONS= introspection pam
-PKG_SUGGESTED_OPTIONS= introspection pam
+PKG_SUPPORTED_OPTIONS= pam
+PKG_SUGGESTED_OPTIONS= pam
 
 .include "../../mk/bsd.options.mk"
 
-PLIST_VARS+=   introspection pam
-
-.if !empty(PKG_OPTIONS:Mintrospection)
-BUILDLINK_DEPMETHOD.gobject-introspection+=    build
-.include "../../devel/gobject-introspection/buildlink3.mk"
-CONFIGURE_ARGS+=       --enable-introspection
-PLIST.introspection=   yes
-.else
-CONFIGURE_ARGS+=       --disable-introspection
-.endif
+PLIST_VARS+=   pam
 
 .if !empty(PKG_OPTIONS:Mpam)
 .include "../../mk/pam.buildlink3.mk"



Home | Main Index | Thread Index | Old Index