Date: Wed, 26 Aug 2015 16:59:47 +0000 (UTC) From: Jean-Sebastien Pedron <dumbbell@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r395380 - head/graphics/darktable/files Message-ID: <201508261659.t7QGxlKq050421@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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")
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508261659.t7QGxlKq050421>