pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/gtk2 Preserve previous behavior: only use buildlin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f40f7b99ed49
branches:  trunk
changeset: 468305:f40f7b99ed49
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Thu Feb 12 12:07:41 2004 +0000

description:
Preserve previous behavior: only use buildlink3 when USE_BUILDLINK3 is set
to yes; otherwise, default to buildlink2.

diffstat:

 x11/gtk2/modules.mk |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 30b5fed9d513 -r f40f7b99ed49 x11/gtk2/modules.mk
--- a/x11/gtk2/modules.mk       Thu Feb 12 11:50:46 2004 +0000
+++ b/x11/gtk2/modules.mk       Thu Feb 12 12:07:41 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: modules.mk,v 1.4 2004/02/10 02:04:54 xtraeme Exp $
+# $NetBSD: modules.mk,v 1.5 2004/02/12 12:07:41 jmmv Exp $
 #
 # This Makefile fragment is intended to be included by packages that install
 # GTK2 modules.  It takes care of rebuilding the corresponding databases at
@@ -33,7 +33,11 @@
 USE_PKGINSTALL=                YES
 .endif
 
-USE_BUILDLINK3=                YES
+.if defined(USE_BUILDLINK3) && !empty(USE_BUILDLINK3:M[Yy][Ee][Ss])
 .include "../../x11/gtk2/buildlink3.mk"
+.else
+USE_BUILDLINK2=                YES
+.include "../../x11/gtk2/buildlink2.mk"
+.fi
 
 .endif                 # GTK2_MODULES_MK



Home | Main Index | Thread Index | Old Index