diff --git a/repos/libports/recipes/api/curl/content.mk b/repos/libports/recipes/api/curl/content.mk index 68f7213fe6..5d0a028042 100644 --- a/repos/libports/recipes/api/curl/content.mk +++ b/repos/libports/recipes/api/curl/content.mk @@ -17,7 +17,10 @@ include: content: src/lib/curl -content: LICENSE +content: LICENSE FindCURL.cmake LICENSE: cp $(PORT_DIR)/src/lib/curl/COPYING $@ + +FindCURL.cmake: + echo 'set(CURL_FOUND True)' > $@ diff --git a/repos/libports/recipes/api/mesa/content.mk b/repos/libports/recipes/api/mesa/content.mk index 755720c3d1..fcac87c131 100644 --- a/repos/libports/recipes/api/mesa/content.mk +++ b/repos/libports/recipes/api/mesa/content.mk @@ -17,7 +17,10 @@ include: cp -r $(PORT_DIR)/include/* $@ cp -r $(REP_DIR)/include/EGL $@ -content: LICENSE +content: LICENSE FindOpenGL.cmake LICENSE: cp $(PORT_DIR)/src/lib/mesa/docs/license.rst $@ + +Find%.cmake: + echo 'set($*_FOUND True)' | sed -r 's/\w+_FOUND/\U&/' > $@ diff --git a/repos/libports/recipes/api/qt5_base/content.mk b/repos/libports/recipes/api/qt5_base/content.mk index 48bc621633..1f9c7cde70 100644 --- a/repos/libports/recipes/api/qt5_base/content.mk +++ b/repos/libports/recipes/api/qt5_base/content.mk @@ -40,3 +40,17 @@ content: LICENSE LICENSE: cp $(PORT_DIR)/src/lib/qt5/LICENSE.LGPLv3 $@ + +CMAKE_MODULES := FindQt5Core.cmake \ + FindQt5Gui.cmake \ + FindQt5Network.cmake \ + FindQt5PrintSupport.cmake \ + FindQt5Sql.cmake \ + FindQt5Test.cmake \ + FindQt5Widgets.cmake \ + FindQt5Xml.cmake + +content: $(CMAKE_MODULES) + +$(CMAKE_MODULES): Find%.cmake: + echo 'set($*_FOUND True)' | sed -r 's/\w+_FOUND/\U&/' > $@ diff --git a/repos/libports/recipes/api/qt5_declarative/content.mk b/repos/libports/recipes/api/qt5_declarative/content.mk index e6ce698612..e1a84bc82c 100644 --- a/repos/libports/recipes/api/qt5_declarative/content.mk +++ b/repos/libports/recipes/api/qt5_declarative/content.mk @@ -15,3 +15,13 @@ content: LICENSE LICENSE: cp $(PORT_DIR)/src/lib/qt5/LICENSE.LGPLv3 $@ + +CMAKE_MODULES := FindQt5Qml.cmake \ + FindQt5QmlModels.cmake \ + FindQt5Quick.cmake \ + FindQt5QuickWidgets.cmake + +content: $(CMAKE_MODULES) + +$(CMAKE_MODULES): Find%.cmake: + echo 'set($*_FOUND True)' | sed -r 's/\w+_FOUND/\U&/' > $@ diff --git a/repos/libports/recipes/api/zlib/content.mk b/repos/libports/recipes/api/zlib/content.mk index 8df707dd02..a7ee40a583 100644 --- a/repos/libports/recipes/api/zlib/content.mk +++ b/repos/libports/recipes/api/zlib/content.mk @@ -1,4 +1,4 @@ -content: include lib/symbols/zlib LICENSE +content: include lib/symbols/zlib LICENSE FindZLIB.cmake PORT_DIR := $(call port_dir,$(REP_DIR)/ports/zlib) @@ -12,3 +12,5 @@ lib/symbols/zlib: LICENSE: echo "zlib license" > $@ +FindZLIB.cmake: + echo 'set(ZLIB_FOUND True)' > $@