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
commitc21316d619445fb42a20edfd433fc4120533db86 (patch)
tree21544972967ca84b76ddda1a751affa612f5acc0 /devel
parent068ad5a557abbdb417acab5da088db5f74f88607 (diff)
downloadpkgsrc-c21316d619445fb42a20edfd433fc4120533db86.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