diff options
author | tnn <tnn@pkgsrc.org> | 2020-03-18 17:52:02 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2020-03-18 17:52:02 +0000 |
commit | 91de3077024ca0266403ae5593937e0a4b9a2949 (patch) | |
tree | fdbefb0fc00ad2a19732b94e96c1931250a300a5 /devel/SDL2 | |
parent | 887951290089df6a2e5341058eba7411ae91f2db (diff) | |
download | pkgsrc-91de3077024ca0266403ae5593937e0a4b9a2949.tar.gz |
SDL2: add missing pkg-build-options snippet for alsa and de-lint
Diffstat (limited to 'devel/SDL2')
-rw-r--r-- | devel/SDL2/buildlink3.mk | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/devel/SDL2/buildlink3.mk b/devel/SDL2/buildlink3.mk index 23a4c0b7932..766c611e42b 100644 --- a/devel/SDL2/buildlink3.mk +++ b/devel/SDL2/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.9 2020/03/17 12:56:36 nia Exp $ +# $NetBSD: buildlink3.mk,v 1.10 2020/03/18 17:52:02 tnn Exp $ BUILDLINK_TREE+= SDL2 @@ -13,25 +13,29 @@ BUILDLINK_INCDIRS.SDL2+= include/SDL2 pkgbase := SDL2 .include "../../mk/pkg-build-options.mk" -.if !empty(PKG_BUILD_OPTIONS.SDL2:Mnas) +.if ${PKG_BUILD_OPTIONS.SDL2:Malsa} +.include "../../audio/alsa-lib/buildlink3.mk" +.endif + +.if ${PKG_BUILD_OPTIONS.SDL2:Mnas} .include "../../audio/nas/buildlink3.mk" .endif -.if !empty(PKG_BUILD_OPTIONS.SDL2:Mopengl) && ${OPSYS} != "Darwin" +.if ${PKG_BUILD_OPTIONS.SDL2:Mopengl} && ${OPSYS} != "Darwin" .include "../../graphics/MesaLib/buildlink3.mk" .endif -.if !empty(PKG_BUILD_OPTIONS.SDL2:Mrpi) +.if ${PKG_BUILD_OPTIONS.SDL2:Mrpi} .include "../../misc/raspberrypi-userland/buildlink3.mk" .endif -.if !empty(PKG_BUILD_OPTIONS.SDL2:Mwayland) +.if ${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) +.if ${PKG_BUILD_OPTIONS.SDL2:Mx11} .include "../../x11/libXcursor/buildlink3.mk" .include "../../x11/libXi/buildlink3.mk" .include "../../x11/libXinerama/buildlink3.mk" |