summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2020-05-25 05:22:37 +0000
committerrillig <rillig@pkgsrc.org>2020-05-25 05:22:37 +0000
commit4146f2126d1cb9ee90b929938cb1fa96bd06356b (patch)
tree68b0bb248d0fdf7bf820182a51692a86a8d6f934
parentebbda3053cbeec05bc023c58e87747dbb219273e (diff)
downloadpkgsrc-4146f2126d1cb9ee90b929938cb1fa96bd06356b.tar.gz
devel/GConf: allow disabling configure options
Not all packages know these configure options.
-rw-r--r--devel/GConf/schemas.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/GConf/schemas.mk b/devel/GConf/schemas.mk
index 395c5812317..3d27cf5c248 100644
--- a/devel/GConf/schemas.mk
+++ b/devel/GConf/schemas.mk
@@ -1,4 +1,4 @@
-# $NetBSD: schemas.mk,v 1.2 2009/06/14 22:57:59 joerg Exp $
+# $NetBSD: schemas.mk,v 1.3 2020/05/25 05:22:37 rillig Exp $
#
# This Makefile fragment is intended to be included by packages that install
# GConf schema files. It takes care of registering them in the GConf
@@ -35,7 +35,7 @@ GCONF_CONFIG_SOURCE= xml::${PKG_SYSCONFBASE}/gconf/gconf.xml.defaults
# Where .schemas files go.
GCONF_SCHEMAS_DIR= ${BUILDLINK_PREFIX.GConf}/share/gconf/schemas
-.if defined(GNU_CONFIGURE) && !empty(GNU_CONFIGURE:M[Yy][Ee][Ss])
+.if ${GNU_CONFIGURE:Uno:tl} == yes && ${GNU_CONFIGURE_GCONF_SCHEMAS:Uyes:tl} == yes
CONFIGURE_ARGS+= --disable-schemas-install
CONFIGURE_ARGS+= --with-gconf-schema-file-dir=${GCONF_SCHEMAS_DIR:Q}
.endif