pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/SDL2 SDL2: add missing pkg-build-options snippet...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b34e8fdf417d
branches:  trunk
changeset: 413336:b34e8fdf417d
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Wed Mar 18 17:52:02 2020 +0000

description:
SDL2: add missing pkg-build-options snippet for alsa and de-lint

diffstat:

 devel/SDL2/buildlink3.mk |  16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)

diffs (44 lines):

diff -r cbe7e478c802 -r b34e8fdf417d devel/SDL2/buildlink3.mk
--- a/devel/SDL2/buildlink3.mk  Wed Mar 18 17:47:40 2020 +0000
+++ b/devel/SDL2/buildlink3.mk  Wed Mar 18 17:52:02 2020 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index