pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/multimedia/x265
Module Name: pkgsrc
Committed By: riastradh
Date: Fri Jan 26 03:16:46 UTC 2024
Modified Files:
pkgsrc/multimedia/x265: Makefile
Log Message:
multimedia/x265: Fix cross-build.
To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 pkgsrc/multimedia/x265/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/multimedia/x265/Makefile
diff -u pkgsrc/multimedia/x265/Makefile:1.36 pkgsrc/multimedia/x265/Makefile:1.37
--- pkgsrc/multimedia/x265/Makefile:1.36 Tue Jan 24 18:36:31 2023
+++ pkgsrc/multimedia/x265/Makefile Fri Jan 26 03:16:46 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2023/01/24 18:36:31 wiz Exp $
+# $NetBSD: Makefile,v 1.37 2024/01/26 03:16:46 riastradh Exp $
DISTNAME= x265_3.5
PKGNAME= ${DISTNAME:S/_/-/}
@@ -31,5 +31,12 @@ TOOL_DEPENDS+= nasm>=2.13.0:../../devel/
. endif
.endif
+.if ${USE_CROSS_COMPILE:tl} == "yes"
+CMAKE_ARGS+= -DCMAKE_SYSTEM:STRING=${OPSYS:Q}-${OS_VERSION:Q}
+CMAKE_ARGS+= -DCMAKE_SYSTEM_NAME:STRING=${OPSYS:Q}
+CMAKE_ARGS+= -DCMAKE_SYSTEM_VERSION:STRING=${OS_VERSION:Q}
+CMAKE_ARGS+= -DCMAKE_SYSTEM_PROCESSOR:STRING=${MACHINE_ARCH:Q}
+.endif
+
.include "../../devel/cmake/build.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index