Highlights: - Stop building cmake itself with ninja. Upstream has decided not to support this anymore. I see no benefit and it's getting harder and harder to take care of. - Use cmake's internel libuv, json-cpp etc. to build the bootstrap cmake (only bootstrap). - Fix SONAME in cmake ports Notable port changes: - Fix COMPILER, it's not possible to build the old and the new cmake version with base-gcc, isn't. - It doesn't make any sense to keep the m88k XXX tags. CMake don't build under m88k. - Tech cmake to detect/provide system JDK11, lua and new ruby version (of course upcoming ruby 2.7) - I took some pre-configure commands from the FreeBSDs port. - Add --docdir to avoid warnings and sort CONFIGURE_ARGS Bulk build by naddy@ on amd64. Thanks a lot! Successful test by Martin Reindl on macppc and arm64. Thanks!
19 lines
1021 B
Plaintext
19 lines
1021 B
Plaintext
$OpenBSD: patch-Modules_FindKDE3_cmake,v 1.7 2019/08/21 05:47:40 rsadowski Exp $
|
|
|
|
Index: Modules/FindKDE3.cmake
|
|
--- Modules/FindKDE3.cmake.orig
|
|
+++ Modules/FindKDE3.cmake
|
|
@@ -294,12 +294,6 @@ if(KDE3_FOUND)
|
|
set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common")
|
|
endif ()
|
|
|
|
- # if no special buildtype is selected, add -O2 as default optimization
|
|
- if (NOT CMAKE_BUILD_TYPE AND _KDE3_USE_FLAGS)
|
|
- set ( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2")
|
|
- set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2")
|
|
- endif ()
|
|
-
|
|
#set(CMAKE_SHARED_LINKER_FLAGS "-avoid-version -module -Wl,--no-undefined -Wl,--allow-shlib-undefined")
|
|
#set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--fatal-warnings -avoid-version -Wl,--no-undefined -lc")
|
|
#set(CMAKE_MODULE_LINKER_FLAGS "-Wl,--fatal-warnings -avoid-version -Wl,--no-undefined -lc")
|