openbsd-ports/devel/cmake/patches/patch-Modules_FindQt3_cmake
rsadowski bf12019dd1 Update cmake to 3.15.2
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!
2019-08-21 05:47:40 +00:00

23 lines
610 B
Plaintext

$OpenBSD: patch-Modules_FindQt3_cmake,v 1.12 2019/08/21 05:47:40 rsadowski Exp $
Index: Modules/FindQt3.cmake
--- Modules/FindQt3.cmake.orig
+++ Modules/FindQt3.cmake
@@ -140,7 +140,7 @@ find_library(QT_QASSISTANTCLIENT_LIBRARY
# Qt 3 should prefer QTDIR over the PATH
find_program(QT_MOC_EXECUTABLE
- NAMES moc-qt3 moc3 moc3-mt moc
+ NAMES moc3 moc-qt3 moc3-mt moc
HINTS
ENV QTDIR
PATHS
@@ -160,7 +160,7 @@ endif()
# Qt 3 should prefer QTDIR over the PATH
find_program(QT_UIC_EXECUTABLE
- NAMES uic-qt3 uic3 uic3-mt uic
+ NAMES uic3 uic-qt3 uic3-mt uic
HINTS
ENV QTDIR
PATHS