SDL2: handle wayland properly in buildlink3
This commit is contained in:
parent
28952c7533
commit
7d3c4769c3
1 changed files with 7 additions and 1 deletions
|
@ -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 @@ pkgbase := SDL2
|
|||
.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"
|
||||
|
|
Loading…
Reference in a new issue