From dda6634097a8bb228481ccfaeebbb2dfd0d5620f Mon Sep 17 00:00:00 2001 From: Henrik Grimler Date: Fri, 4 Feb 2022 17:38:49 +0100 Subject: [PATCH] pforth: check in forgotten CMakeLists patch --- packages/pforth/CMakeLists.txt.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 packages/pforth/CMakeLists.txt.patch diff --git a/packages/pforth/CMakeLists.txt.patch b/packages/pforth/CMakeLists.txt.patch new file mode 100644 index 000000000..3b1781f52 --- /dev/null +++ b/packages/pforth/CMakeLists.txt.patch @@ -0,0 +1,22 @@ +--- ../CMakeLists.txt.orig 2022-02-04 15:41:06.250332497 +0000 ++++ ./CMakeLists.txt 2022-02-04 16:24:58.062366747 +0000 +@@ -38,9 +38,9 @@ + endif(WIN32) + + add_subdirectory(csrc) +-if(NOT WIN32 AND NOT APPLE) ++if(NOT WIN32 AND NOT APPLE AND NOT ANDROID) + link_libraries(rt pthread) +-endif(NOT WIN32 AND NOT APPLE) ++endif(NOT WIN32 AND NOT APPLE AND NOT ANDROID) + + option(UNISTD "Enable libunistd" false) + if(UNISTD) +@@ -61,7 +61,6 @@ + add_custom_command(OUTPUT ${PFORTH_DIC} + COMMAND ./pforth -i system.fth + WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} +- DEPENDS pforth + COMMENT Building pforth.dic + VERBATIM + )