summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2022-06-28 11:13:20 +0000
committernia <nia@pkgsrc.org>2022-06-28 11:13:20 +0000
commitadd45a4a4d7f2ae55d2892b73172e4cd0c164ad4 (patch)
tree552680238096e20ed326ad26c0a475af171661fe /sysutils
parent9fc15f5a31d036aaf26b9142fd56a9757f7467b0 (diff)
downloadpkgsrc-add45a4a4d7f2ae55d2892b73172e4cd0c164ad4.tar.gz
upower: Remove introspection option.
https://marc.info/?l=pkgsrc-users&m=165444158600671&w=2
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/upower/Makefile7
-rw-r--r--sysutils/upower/options.mk18
2 files changed, 4 insertions, 21 deletions
diff --git a/sysutils/upower/Makefile b/sysutils/upower/Makefile
index 35861bf29e6..a39c07fcab2 100644
--- a/sysutils/upower/Makefile
+++ b/sysutils/upower/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2021/12/08 16:02:40 adam Exp $
+# $NetBSD: Makefile,v 1.21 2022/06/28 11:13:20 nia Exp $
DISTNAME= upower-0.99.13
PKGREVISION= 1
@@ -21,6 +21,7 @@ BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --with-libintl-prefix=${BUILDLINK_PREFIX.gettext}
+CONFIGURE_ARGS+= --enable-introspection
PKG_SYSCONFSUBDIR= UPower
INSTALL_MAKE_FLAGS+= configdir=${EGDIR} dbusconfdir=${EGDIR}
@@ -40,10 +41,10 @@ TEST_TARGET= check
# with --nonet, xsltproc needs a helping hand finding some dtds
XSLTPROC_PATH= ${PREFIX}/share/doc/dbus
-.include "options.mk"
-
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
+BUILDLINK_DEPMETHOD.gobject-introspection+= build
+.include "../../devel/gobject-introspection/buildlink3.mk"
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
.include "../../textproc/libxslt/xsltproc-nonet.mk"
diff --git a/sysutils/upower/options.mk b/sysutils/upower/options.mk
deleted file mode 100644
index 6b513134b32..00000000000
--- a/sysutils/upower/options.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-# $NetBSD: options.mk,v 1.2 2018/05/31 21:00:23 youri Exp $
-
-PKG_OPTIONS_VAR= PKG_OPTIONS.upower
-PKG_SUPPORTED_OPTIONS= introspection
-PKG_SUGGESTED_OPTIONS= introspection
-
-.include "../../mk/bsd.options.mk"
-
-PLIST_VARS+= introspection
-
-.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