summaryrefslogtreecommitdiffstats
path: root/main/cmake
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-08-10 12:23:41 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-08-10 12:23:41 +0000
commitff70a75291d6e2f24ce14a3c8598eeda59fa1756 (patch)
tree303be201c634b435767024756eafae059aafc182 /main/cmake
parent7dcd416a202e186d937d4f9af53b5f6e44eb47a6 (diff)
downloadaports-ff70a75291d6e2f24ce14a3c8598eeda59fa1756.tar.bz2
aports-ff70a75291d6e2f24ce14a3c8598eeda59fa1756.tar.xz
main/apk-tools: upgrade to 2.0_rc2
Diffstat (limited to 'main/cmake')
-rw-r--r--main/cmake/APKBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/main/cmake/APKBUILD b/main/cmake/APKBUILD
index 71d74182e..8ef3a37b7 100644
--- a/main/cmake/APKBUILD
+++ b/main/cmake/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cmake
pkgver=2.6.4
-pkgrel=0
+pkgrel=1
pkgdesc="CMake is a cross-platform open-source make system"
url="http://www.cmake.org"
license="CMake"
@@ -21,9 +21,14 @@ parallel_opt() {
[ -n "$n" ] && echo "--parallel $n"
}
-build ()
-{
+build ()
+{
cd $startdir/src/$pkgname-$pkgver
+ # bug in cmake.
+ # http://www.mail-archive.com/cmake@cmake.org/msg09515.html
+ export CC="gcc"
+ export CXX="g++"
+
./bootstrap --prefix=/usr \
--mandir=/share/man \
--docdir=/share/cmake-2.6/doc \