summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2004-02-11 14:11:05 +0000
committertron <tron@pkgsrc.org>2004-02-11 14:11:05 +0000
commite003613a9c22db580834b8849928096346bdf2f5 (patch)
tree21544972967ca84b76ddda1a751affa612f5acc0 /devel
parentdeb961530347f241914990573d25edfb635e249f (diff)
downloadpkgsrc-e003613a9c22db580834b8849928096346bdf2f5.tar.gz
Only include "../../devel/GConf2/buildlink3.mk" if the package is really
using buildlink3. Include "../../devel/GConf2/buildlink2.mk" if it is using buildlink2 and nothing otherwise.
Diffstat (limited to 'devel')
-rw-r--r--devel/GConf2/schemas.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/GConf2/schemas.mk b/devel/GConf2/schemas.mk
index cf0fbdbaf6a..f61fcd5eff2 100644
--- a/devel/GConf2/schemas.mk
+++ b/devel/GConf2/schemas.mk
@@ -1,4 +1,4 @@
-# $NetBSD: schemas.mk,v 1.6 2004/02/11 00:53:57 xtraeme Exp $
+# $NetBSD: schemas.mk,v 1.7 2004/02/11 14:11:05 tron 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
@@ -52,6 +52,12 @@ DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/../../devel/GConf2/files/deinstall.tmpl
USE_PKGINSTALL= YES
.endif
+.include "../../mk/bsd.prefs.mk"
+
+.if empty(USE_BUILDLINK3:M[nN][oO])
.include "../../devel/GConf2/buildlink3.mk"
+.elif empty(USE_BUILDLINK2:M[nN][oO])
+.include "../../devel/GConf2/buildlink2.mk"
+.endif
.endif # GCONF2_SCHEMAS_MK