pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/SDL2



Module Name:    pkgsrc
Committed By:   tnn
Date:           Wed Mar 18 17:52:02 UTC 2020

Modified Files:
        pkgsrc/devel/SDL2: buildlink3.mk

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


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/SDL2/buildlink3.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/SDL2/buildlink3.mk
diff -u pkgsrc/devel/SDL2/buildlink3.mk:1.9 pkgsrc/devel/SDL2/buildlink3.mk:1.10
--- pkgsrc/devel/SDL2/buildlink3.mk:1.9 Tue Mar 17 12:56:36 2020
+++ pkgsrc/devel/SDL2/buildlink3.mk     Wed Mar 18 17:52:02 2020
@@ -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"



Home | Main Index | Thread Index | Old Index