]> git.pld-linux.org Git - packages/cmake.git/blobdiff - cmake.spec
- fix libtool install dir; rel 2
[packages/cmake.git] / cmake.spec
index 05f8be5b51b199c862135d81abeb1082d3312c58..839005e271b5dec969a2628819ba914bd04eb47d 100644 (file)
@@ -2,12 +2,13 @@ Summary:      Cross-platform, open-source make system
 Summary(pl.UTF-8):     Wieloplatformowy system make o otwartych źródłach
 Name:          cmake
 Version:       2.4.7
-Release:       1
+Release:       2
 License:       BSD
 Group:         Development/Building
 Source0:       http://www.cmake.org/files/v2.4/%{name}-%{version}.tar.gz
 # Source0-md5: 4476c423b8f74266136964e42ea88028
 Patch0:                %{name}-ncurses.patch
+Patch1:                %{name}-lib64.patch
 URL:           http://www.cmake.org/HTML/Index.html
 BuildRequires: libstdc++-devel
 BuildRequires: ncurses-devel
@@ -35,9 +36,12 @@ dziedziczenie szablonów.
 %prep
 %setup -q
 %patch0 -p1
+%if "%{_lib}" == "lib64"
+%patch1 -p1
+%endif
 
 cat > "init.cmake" <<EOF
-SET (CURSES_INCLUDE_PATH "%{_includedir}/ncurses" CACHE PATH " " FORCE)
+SET (CURSES_INCLUDE_PATH "/usr/include/ncurses" CACHE PATH " " FORCE)
 EOF
 
 %build
This page took 0.04774 seconds and 4 git commands to generate.