# | 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 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |