summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrh <rh>2003-04-21 00:12:33 +0000
committerrh <rh>2003-04-21 00:12:33 +0000
commit1e20b9127d2f509931276ab0694ad132ad79b534 (patch)
tree44ad351087f6d1418006ea941e5617d48a6a696d
parent3152825994be5d398d2c271a7e7c65255debc35e (diff)
downloadpkgsrc-1e20b9127d2f509931276ab0694ad132ad79b534.tar.gz
Don't crash if GCONF2_SCHEMAS is undefined.
-rw-r--r--devel/GConf2/schemas.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/GConf2/schemas.mk b/devel/GConf2/schemas.mk
index fe7fc0ce5b8..c41a24c1b2c 100644
--- a/devel/GConf2/schemas.mk
+++ b/devel/GConf2/schemas.mk
@@ -1,4 +1,4 @@
-# $NetBSD: schemas.mk,v 1.2 2003/02/18 15:54:13 jmmv Exp $
+# $NetBSD: schemas.mk,v 1.3 2003/04/21 00:12:33 rh Exp $
#
# This Makefile fragment is intended to be included by packages that install
# GConf2 schema files. It takes care of registering them in the GConf2
@@ -37,7 +37,7 @@ CONFIGURE_ARGS+= --disable-schemas-install
CONFIGURE_ARGS+= --with-gconf-schema-file-dir=${GCONF2_SCHEMAS_DIR}
.endif
-.if !empty(GCONF2_SCHEMAS)
+.if defined(GCONF2_SCHEMAS) && !empty(GCONF2_SCHEMAS)
FILES_SUBST+= GCONFTOOL2="${GCONFTOOL2}"
FILES_SUBST+= GCONF2_CONFIG_SOURCE="${GCONF2_CONFIG_SOURCE}"
FILES_SUBST+= GCONF2_SCHEMAS="${GCONF2_SCHEMAS}"