diff --git a/games/easyrpg-player/Makefile b/games/easyrpg-player/Makefile index 9cfe324fa9c7..38e94cff0929 100644 --- a/games/easyrpg-player/Makefile +++ b/games/easyrpg-player/Makefile @@ -3,6 +3,7 @@ PORTNAME= easyrpg-player PORTVERSION= 0.6.2.1 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org diff --git a/games/easyrpg-player/files/patch-builds_cmake_Modules_FindHarfbuzz.cmake b/games/easyrpg-player/files/patch-builds_cmake_Modules_FindHarfbuzz.cmake new file mode 100644 index 000000000000..8fc843a48f2f --- /dev/null +++ b/games/easyrpg-player/files/patch-builds_cmake_Modules_FindHarfbuzz.cmake @@ -0,0 +1,17 @@ +--- builds/cmake/Modules/FindHarfbuzz.cmake.orig 2020-08-13 08:40:25 UTC ++++ builds/cmake/Modules/FindHarfbuzz.cmake +@@ -55,7 +55,13 @@ if(HARFBUZZ_FOUND) + + if(NOT TARGET Harfbuzz::Harfbuzz) + add_library(Harfbuzz::Harfbuzz UNKNOWN IMPORTED) +- find_library(Freetype REQUIRED) ++ # Handle circular dependency: FindFreetype.cmake asks ++ # for a QUIET lookup. ++ if (Harfbuzz_FIND_QUIETLY) ++ find_library(Freetype QUIET) ++ else() ++ find_library(Freetype REQUIRED) ++ endif() + set_target_properties(Harfbuzz::Harfbuzz PROPERTIES + INTERFACE_INCLUDE_DIRECTORIES "${HARFBUZZ_INCLUDE_DIRS}" + INTERFACE_LINK_LIBRARIES Freetype::Freetype