pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: pkgsrc/devel/cmake
> Date: Sun, 26 Jan 2025 00:10:19 +0100
> From: Adam <adam%viamedium.pl@localhost>
>
> > Modified Files:
> > pkgsrc/devel/cmake: build.mk configure-settings.mk
> >
> > Log Message:
> > devel/cmake/build.mk: Limit cmake's perspective to buildlink3.
>
> This breaks builds on macOS (Darwin).
Sorry about that! Can you please try the attached patch?
If it doesn't work, can you please build some of the affected packages
with
CMAKE_CONFIGURE_ARGS+= --debug-find
and send me the output? (And in the meantime, if the patch doesn't
work, we can disable it for macOS.)
>From 56397d907d733eadf90fd1ac8a03feeedcbd8be3 Mon Sep 17 00:00:00 2001
From: Taylor R Campbell <riastradh%NetBSD.org@localhost>
Date: Sun, 26 Jan 2025 06:00:36 +0000
Subject: [PATCH] WIP: devel/cmake/build.mk: Fix previous for Darwin.
---
devel/cmake/build.mk | 3 +++
1 file changed, 3 insertions(+)
diff --git a/devel/cmake/build.mk b/devel/cmake/build.mk
index c9d82607b217..dccb160bb5d3 100644
--- a/devel/cmake/build.mk
+++ b/devel/cmake/build.mk
@@ -64,6 +64,9 @@ CMAKE_CONFIGURE_ARGS+= -DFETCHCONTENT_FULLY_DISCONNECTED=ON
# directory for find_package/program/library/file/path.
CMAKE_CONFIGURE_ARGS+= -DCMAKE_FIND_USE_CMAKE_SYSTEM_PATH:BOOL=OFF
CMAKE_PREFIX_PATH+= ${BUILDLINK_DIR}
+.if ${OPSYS} == "Darwin"
+CMAKE_PREFIX_PATH+= ${OSX_SDK_PATH}
+.endif
CMAKE_INCLUDE_PATH+= ${COMPILER_INCLUDE_DIRS:@.d.@${_CROSS_DESTDIR:U}${.d.}@}
CMAKE_LIBRARY_PATH+= ${COMPILER_LIB_DIRS:@.d.@${_CROSS_DESTDIR:U}${.d.}@}
Home |
Main Index |
Thread Index |
Old Index