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:   riastradh
Date:           Fri Jan 26 03:15:30 UTC 2024

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

Log Message:
devel/SDL2: Fix tool path to wayland-scanner.

Fixes cross-build.  No functional change intended otherwise.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/devel/SDL2/options.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/options.mk
diff -u pkgsrc/devel/SDL2/options.mk:1.20 pkgsrc/devel/SDL2/options.mk:1.21
--- pkgsrc/devel/SDL2/options.mk:1.20   Sun Dec 25 17:49:16 2022
+++ pkgsrc/devel/SDL2/options.mk        Fri Jan 26 03:15:30 2024
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.20 2022/12/25 17:49:16 nia Exp $
+# $NetBSD: options.mk,v 1.21 2024/01/26 03:15:30 riastradh Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.SDL2
 PKG_OPTIONS_OPTIONAL_GROUPS=   gl
@@ -85,6 +85,8 @@ SUBST_SED.vc+=                -e "s;/opt/vc;${PREFIX};
 
 .if !empty(PKG_OPTIONS:Mwayland)
 CONFIGURE_ARGS+=       --enable-video-wayland
+MAKE_FLAGS+=           WAYLAND_SCANNER=${TOOLBASE:Q}/bin/wayland-scanner
+TOOL_DEPENDS+=         ${BUILDLINK_API_DEPENDS.wayland:=:../../devel/wayland}
 .include "../../devel/wayland/buildlink3.mk"
 .include "../../devel/wayland-protocols/buildlink3.mk"
 .include "../../x11/libxkbcommon/buildlink3.mk"



Home | Main Index | Thread Index | Old Index