diff options
author | jmmv <jmmv> | 2004-02-12 12:07:41 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2004-02-12 12:07:41 +0000 |
commit | 7a16cade08d5880eaf668c4bdbf8b6a482fb6f92 (patch) | |
tree | 4856c129c05b4468ed296e2f7045fa4b50c3eab5 | |
parent | 25ebeee82463916fa2ef2174b4835f8322d9f36f (diff) | |
download | pkgsrc-7a16cade08d5880eaf668c4bdbf8b6a482fb6f92.tar.gz |
Preserve previous behavior: only use buildlink3 when USE_BUILDLINK3 is set
to yes; otherwise, default to buildlink2.
-rw-r--r-- | x11/gtk2/modules.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/x11/gtk2/modules.mk b/x11/gtk2/modules.mk index 52705bb83f0..2613cc73332 100644 --- a/x11/gtk2/modules.mk +++ b/x11/gtk2/modules.mk @@ -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 @@ DEINSTALL_EXTRA_TMPL+= ../../x11/gtk2/files/loaders.tmpl 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 |