SHA256
3
0
forked from pool/cmake

Accepting request 141282 from devel:tools:building

- Add cmake-gettext.patch to fix gettext detection

OBS-URL: https://build.opensuse.org/request/show/141282
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=61
This commit is contained in:
Stephan Kulow 2012-11-14 15:36:35 +00:00 committed by Git OBS Bridge
commit b9a463002e
3 changed files with 17 additions and 0 deletions

10
cmake-gettext.patch Normal file
View File

@ -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})

View File

@ -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

View File

@ -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"