ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/cmake.spec
(Generate patch)

Comparing COMP/CMSDIST/cmake.spec (file contents):
Revision 1.23 by elmer, Fri Oct 30 19:46:57 2009 UTC vs.
Revision 1.24 by dsr, Wed Feb 24 15:52:08 2010 UTC

# Line 4 | Line 4 | Source: http://www.cmake.org/files/v%{do
4   %define closingbrace )
5   %define online %(case %cmsplatf in *onl_*_*%closingbrace echo true;; *%closingbrace echo false;; esac)
6   #Patch1: cmake
7 + Patch2: cmake-osx-nld
8  
9   #We are using system zlib for the online builds:
10   %if "%online" != "true"
# Line 14 | Line 15 | Requires: zlib
15  
16   %setup -n cmake-%realversion
17   #%patch1 -p1
18 + %if "%(echo %{cmsos} | cut -d_ -f 1 | sed -e 's|osx.*|osx|')" == "osx"
19 + %patch2 -p0
20 + %endif
21  
22   %build
23   ./configure --prefix=%i

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines