pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/cmake
Module Name: pkgsrc
Committed By: jperkin
Date: Wed Mar 16 18:36:47 UTC 2022
Modified Files:
pkgsrc/devel/cmake: Makefile distinfo
Removed Files:
pkgsrc/devel/cmake/patches: patch-Source_cmLocalGenerator.cxx
Log Message:
cmake: Apply different fix for Darwin/aarch64.
The previous patch was breaking cmake when running outside of the pkgsrc
environment. Should fix NetBSD/pkgsrc#103. Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.190 -r1.191 pkgsrc/devel/cmake/Makefile
cvs rdiff -u -r1.192 -r1.193 pkgsrc/devel/cmake/distinfo
cvs rdiff -u -r1.1 -r0 \
pkgsrc/devel/cmake/patches/patch-Source_cmLocalGenerator.cxx
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/cmake/Makefile
diff -u pkgsrc/devel/cmake/Makefile:1.190 pkgsrc/devel/cmake/Makefile:1.191
--- pkgsrc/devel/cmake/Makefile:1.190 Tue Jan 25 21:18:08 2022
+++ pkgsrc/devel/cmake/Makefile Wed Mar 16 18:36:47 2022
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.190 2022/01/25 21:18:08 adam Exp $
+# $NetBSD: Makefile,v 1.191 2022/03/16 18:36:47 jperkin Exp $
.include "Makefile.common"
+PKGREVISION= 1
COMMENT= Cross platform make
USE_TOOLS+= gmake
@@ -25,6 +26,13 @@ CONFIGURE_ARGS+= --no-system-jsoncpp
LDFLAGS.Darwin+= -framework CoreServices # for LSOpenCFURLRef()
LDFLAGS.SunOS+= -lsocket -lnsl
+.include "../../mk/bsd.prefs.mk"
+
+# Enforce arm64 to support building inside x86_64 chroots.
+.if !empty(MACHINE_PLATFORM:MDarwin-*-aarch64)
+CONFIGURE_ENV+= CMAKE_OSX_ARCHITECTURES=arm64
+.endif
+
PLIST_SUBST+= CMAKE_API=${CMAKE_API}
REPLACE_SH= Modules/Compiler/XL-Fortran/cpp
Index: pkgsrc/devel/cmake/distinfo
diff -u pkgsrc/devel/cmake/distinfo:1.192 pkgsrc/devel/cmake/distinfo:1.193
--- pkgsrc/devel/cmake/distinfo:1.192 Mon Mar 7 19:59:44 2022
+++ pkgsrc/devel/cmake/distinfo Wed Mar 16 18:36:47 2022
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.192 2022/03/07 19:59:44 adam Exp $
+$NetBSD: distinfo,v 1.193 2022/03/16 18:36:47 jperkin Exp $
BLAKE2s (cmake-3.22.3.tar.gz) = eafa5d81e2a1ab1cb7aee21fec3a4706330cb44ef0cbc9633be9fabad67ab536
SHA512 (cmake-3.22.3.tar.gz) = a35003468153b99770ac6bbdeaa611a231a1104560da36aca0f393b8b71dbb44d854378504d2ec6b4af615f78efe18d91453fe15a1b7ec58129aa0289a5a1507
@@ -18,7 +18,6 @@ SHA1 (patch-Source_Checks_Curses_CMakeLi
SHA1 (patch-Source_Checks_Curses_CheckCurses.c) = c86cae48f7b39fb735eba4788d4e9d595b2ccf3b
SHA1 (patch-Source_Checks_cm__cxx17__check.cpp) = d5e2708df6fcda078b1b5ea59264c663d2633ced
SHA1 (patch-Source_QtDialog_CMakeLists.txt) = 0858da256bba174694a165d5f910eedb3faa06d5
-SHA1 (patch-Source_cmLocalGenerator.cxx) = 7b41e5837c2dcff54114541920c45258632275b0
SHA1 (patch-Source_cmMachO.h) = 9d9065625e5f4df08e5a4ecf62b8582e3858f0bc
SHA1 (patch-Utilities_KWIML_CMakeLists.txt) = e4bdf9fc58757e87bf7e3e3e195839eededbc796
SHA1 (patch-bootstrap) = e34f5b888790e766338086b8c3680be79b71ef18
Home |
Main Index |
Thread Index |
Old Index