pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/SDL2 SDL2: handle wayland properly in buildlink3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/978e566e36ef
branches:  trunk
changeset: 338165:978e566e36ef
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Aug 19 13:35:25 2019 +0000

description:
SDL2: handle wayland properly in buildlink3

diffstat:

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

diffs (22 lines):

diff -r c61f3ea51d69 -r 978e566e36ef devel/SDL2/buildlink3.mk
--- a/devel/SDL2/buildlink3.mk  Mon Aug 19 13:31:19 2019 +0000
+++ b/devel/SDL2/buildlink3.mk  Mon Aug 19 13:35:25 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2018/11/01 21:08:28 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2019/08/19 13:35:25 nia Exp $
 
 BUILDLINK_TREE+=       SDL2
 
@@ -31,6 +31,12 @@
 .include "../../mk/oss.buildlink3.mk"
 .endif
 
+.if !empty(PKG_BUILD_OPTIONS.SDL2:Mwayland)
+.include "../../devel/wayland/buildlink3.mk"
+.include "../../devel/wayland-protocols/buildlink3.mk"
+.include "../../x11/libxkbcommon/buildlink3.mk"
+.endif
+
 .if !empty(PKG_BUILD_OPTIONS.SDL2:Mx11)
 .include "../../x11/libXcursor/buildlink3.mk"
 .include "../../x11/libXi/buildlink3.mk"



Home | Main Index | Thread Index | Old Index