aboutsummaryrefslogtreecommitdiff
path: root/graphics/darktable
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <dumbbell@FreeBSD.org>2015-08-26 16:59:47 +0000
committerJean-Sébastien Pédron <dumbbell@FreeBSD.org>2015-08-26 16:59:47 +0000
commit3192fff37dedd819cf0ff70f106d4335869dbc42 (patch)
tree9cc010eb5b71eb3f8a038cb682ed3acb0596abeb /graphics/darktable
parentc2f7f97e66b39c5d7e79322658bec0a335f0c2be (diff)
downloadports-3192fff37dedd819cf0ff70f106d4335869dbc42.tar.gz
ports-3192fff37dedd819cf0ff70f106d4335869dbc42.zip
Notes
Diffstat (limited to 'graphics/darktable')
-rw-r--r--graphics/darktable/files/patch-cmake_modules_FindGettext.cmake11
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")