summaryrefslogtreecommitdiff
path: root/x11/tk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2020-03-27 02:07:33 +0000
committerjoerg <joerg@pkgsrc.org>2020-03-27 02:07:33 +0000
commit5444f284ec5fae0a16d0cfb59cac7acd64a5b327 (patch)
tree143116496e398afe3bdf852ee10b527d9284de98 /x11/tk
parent8bae6417b3b3204d73b8fc2d5975a45f0867cdb1 (diff)
downloadpkgsrc-5444f284ec5fae0a16d0cfb59cac7acd64a5b327.tar.gz
Use build option to decide whether Aqua support was desired and include
the appropiate dependencies otherwise.
Diffstat (limited to 'x11/tk')
-rw-r--r--x11/tk/buildlink3.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/x11/tk/buildlink3.mk b/x11/tk/buildlink3.mk
index 8b4885dbaee..4768a513412 100644
--- a/x11/tk/buildlink3.mk
+++ b/x11/tk/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.37 2018/03/12 11:15:58 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.38 2020/03/27 02:07:33 joerg Exp $
BUILDLINK_TREE+= tk
@@ -29,10 +29,10 @@ pkgbase := tk
.if !empty(PKG_BUILD_OPTIONS.tk:Mxft2)
. include "../../x11/libXft/buildlink3.mk"
.endif
-
-.include "../../mk/bsd.fast.prefs.mk"
-.if ${OPSYS} != "Darwin"
-. include "../../x11/libX11/buildlink3.mk"
+.if empty(PKG_BUILD_OPTIONS.tk:Maqua)
+. include "../../x11/libX11/buildlink3.mk"
+. include "../../x11/libXext/buildlink3.mk"
+. include "../../x11/libXScrnSaver/buildlink3.mk"
.endif
.include "../../lang/tcl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"