summaryrefslogtreecommitdiff
path: root/inputmethod/scim/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'inputmethod/scim/buildlink3.mk')
-rw-r--r--inputmethod/scim/buildlink3.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/inputmethod/scim/buildlink3.mk b/inputmethod/scim/buildlink3.mk
index a79b9323cf6..8712882db51 100644
--- a/inputmethod/scim/buildlink3.mk
+++ b/inputmethod/scim/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2012/05/07 01:53:38 dholland Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2012/08/19 08:09:08 obache Exp $
BUILDLINK_TREE+= scim
@@ -13,7 +13,13 @@ BUILDLINK_PKGSRCDIR.scim?= ../../inputmethod/scim
.include "../../devel/libltdl/buildlink3.mk"
.if defined(USE_SCIM_GTKUTILS) && !empty(USE_SCIM_GTKUTILS:M[Yy][Ee][Ss])
-. include "../../x11/gtk2/buildlink3.mk"
+pkgbase := scim
+.include "../../mk/pkg-build-options.mk"
+. if !empty(PKG_BUILD_OPTIONS.scim:Mgtk3)
+.include "../../x11/gtk3/buildlink3.mk"
+. else
+.include "../../x11/gtk2/buildlink3.mk"
+. endif
.endif
.endif # SCIM_BUILDLINK3_MK