diff --git a/cmake-gettext.patch b/cmake-gettext.patch new file mode 100644 index 0000000..397d50b --- /dev/null +++ b/cmake-gettext.patch @@ -0,0 +1,10 @@ +Index: cmake-2.8.10.1/Modules/FindGettext.cmake +=================================================================== +--- cmake-2.8.10.1.orig/Modules/FindGettext.cmake ++++ cmake-2.8.10.1/Modules/FindGettext.cmake +@@ -209,5 +209,3 @@ function(GETTEXT_PROCESS_PO_FILES _lang) + add_dependencies(pofiles ${uniqueTargetName}) + + endfunction() +- +-set(GETTEXT_FOUND ${Gettext_FOUND}) diff --git a/cmake.changes b/cmake.changes index 8f6caab..0997ca3 100644 --- a/cmake.changes +++ b/cmake.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 14 12:55:10 UTC 2012 - idonmez@suse.com + +- Add cmake-gettext.patch to fix gettext detection + ------------------------------------------------------------------- Wed Nov 7 21:24:45 UTC 2012 - cgiboudeaux@gmx.com diff --git a/cmake.spec b/cmake.spec index eced0d8..2575802 100644 --- a/cmake.spec +++ b/cmake.spec @@ -23,6 +23,7 @@ Url: http://www.cmake.org/ Source0: http://www.cmake.org/files/v2.8/%{name}-%{version}.tar.gz Patch1: cmake-disable-builtin-chrpath.diff Patch2: cmake-fix-ruby-test.patch +Patch3: cmake-gettext.patch Summary: Cross-platform, open-source make system License: BSD-3-Clause Group: Development/Tools/Building @@ -51,6 +52,7 @@ CMake is a cross-platform, open-source make system %setup -q %patch1 %patch2 +%patch3 -p1 %build export CXXFLAGS="$RPM_OPT_FLAGS"