pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/oculante



Module Name:    pkgsrc
Committed By:   tnn
Date:           Fri Mar 27 21:59:06 UTC 2026

Modified Files:
        pkgsrc/graphics/oculante: Makefile

Log Message:
oculante: demote nasm to tool dependency (and only on x86)


To generate a diff of this commit:
cvs rdiff -u -r1.96 -r1.97 pkgsrc/graphics/oculante/Makefile

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

Modified files:

Index: pkgsrc/graphics/oculante/Makefile
diff -u pkgsrc/graphics/oculante/Makefile:1.96 pkgsrc/graphics/oculante/Makefile:1.97
--- pkgsrc/graphics/oculante/Makefile:1.96      Tue Jan 27 08:39:46 2026
+++ pkgsrc/graphics/oculante/Makefile   Fri Mar 27 21:59:06 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.96 2026/01/27 08:39:46 wiz Exp $
+# $NetBSD: Makefile,v 1.97 2026/03/27 21:59:06 tnn Exp $
 
 DISTNAME=      oculante-0.9.2
 PKGREVISION=   4
@@ -40,12 +40,16 @@ RUSTFLAGS+= -C link-arg=${COMPILER_RPATH
 CARGO_NO_DEFAULT_FEATURES=     YES
 CARGO_FEATURES+=               avif_native notan/glsl-to-spirv
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
+TOOL_DEPENDS+= nasm-[0-9]*:../../devel/nasm
+.endif
+
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/target/release/oculante \
                ${DESTDIR}${PREFIX}/bin
 
-DEPENDS+=      nasm-[0-9]*:../../devel/nasm
-
 .include "../../lang/rust/cargo.mk"
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../fonts/fontconfig/buildlink3.mk"



Home | Main Index | Thread Index | Old Index