diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/darktable/files/patch-cmake_modules_FindGettext.cmake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/darktable/files/patch-cmake_modules_FindGettext.cmake b/graphics/darktable/files/patch-cmake_modules_FindGettext.cmake new file mode 100644 index 000000000000..e20253c8e079 --- /dev/null +++ b/graphics/darktable/files/patch-cmake_modules_FindGettext.cmake @@ -0,0 +1,11 @@ +--- cmake/modules/FindGettext.cmake.orig 2015-07-26 11:47:47 UTC ++++ cmake/modules/FindGettext.cmake +@@ -13,6 +13,8 @@ include(LibFindMacros) + # On Linux there is no pkgconfig script, but with this we force Gettext_PKGCONF_INCLUDE_DIRS to "" + if(CMAKE_SYSTEM_NAME STREQUAL "Linux") + set(Gettext_PKGCONF_INCLUDE_DIRS "") ++elseif(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") ++ set(Gettext_PKGCONF_INCLUDE_DIRS "/usr/local/include") + else(CMAKE_SYSTEM_NAME STREQUAL "Linux") + libfind_pkg_check_modules(Gettext_PKGCONF Gettext) + endif(CMAKE_SYSTEM_NAME STREQUAL "Linux") |