diff options
author | rh <rh> | 2003-04-21 00:12:33 +0000 |
---|---|---|
committer | rh <rh> | 2003-04-21 00:12:33 +0000 |
commit | efa8a6fdb14804aff86a0f19af465ed4fe7878f7 (patch) | |
tree | 44ad351087f6d1418006ea941e5617d48a6a696d /devel | |
parent | caca2f661050257a8a7b34a3e93068b92b3a1ec8 (diff) | |
download | pkgsrc-efa8a6fdb14804aff86a0f19af465ed4fe7878f7.tar.gz |
Don't crash if GCONF2_SCHEMAS is undefined.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/GConf2/schemas.mk | 4 |
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}" |