pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/GConf2 Only include "../../devel/GConf2/buildlin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3080026a9ea3
branches:  trunk
changeset: 468242:3080026a9ea3
user:      tron <tron%pkgsrc.org@localhost>
date:      Wed Feb 11 14:11:05 2004 +0000

description:
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:

 devel/GConf2/schemas.mk |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 25d7dcdff0d1 -r 3080026a9ea3 devel/GConf2/schemas.mk
--- a/devel/GConf2/schemas.mk   Wed Feb 11 13:42:36 2004 +0000
+++ b/devel/GConf2/schemas.mk   Wed Feb 11 14:11:05 2004 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index