svn commit: r395380 - head/graphics/darktable/files
Jean-Sebastien Pedron
dumbbell at FreeBSD.org
Wed Aug 26 16:59:48 UTC 2015
Author: dumbbell (src committer)
Date: Wed Aug 26 16:59:47 2015
New Revision: 395380
URL: https://svnweb.freebsd.org/changeset/ports/395380
Log:
graphics/darktable: Add patch to properly detect Gettext
Reviewed by: bapt, kwm
Approved by: bapt
Differential Revision: https://reviews.freebsd.org/D3247
Added:
head/graphics/darktable/files/
head/graphics/darktable/files/patch-cmake_modules_FindGettext.cmake (contents, props changed)
Added: head/graphics/darktable/files/patch-cmake_modules_FindGettext.cmake
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/darktable/files/patch-cmake_modules_FindGettext.cmake Wed Aug 26 16:59:47 2015 (r395380)
@@ -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")
More information about the svn-ports-head
mailing list