summaryrefslogtreecommitdiffstats
path: root/cmake/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Pkgfile')
-rwxr-xr-xcmake/Pkgfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/cmake/Pkgfile b/cmake/Pkgfile
index 9680aa7ec..196b1a056 100755
--- a/cmake/Pkgfile
+++ b/cmake/Pkgfile
@@ -8,14 +8,16 @@
name=cmake
version=2.8.8
release=1
-source=(http://www.cmake.org/files/v2.8/$name-$version.tar.gz)
+source=(http://www.cmake.org/files/v2.8/$name-$version.tar.gz
+ fix-pkg-config.patch)
build() {
cd $name-$version
+ patch -p1 < ../fix-pkg-config.patch
./bootstrap --prefix=/usr \
--mandir=/usr/share/man \
--system-libs \
- --parallel=2
+ --parallel=$(/usr/bin/getconf _NPROCESSORS_ONLN)
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/doc