summaryrefslogtreecommitdiff
path: root/packages/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cmake')
-rw-r--r--packages/cmake/cmake.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/cmake/cmake.inc b/packages/cmake/cmake.inc
index d046c84858..eb816680cd 100644
--- a/packages/cmake/cmake.inc
+++ b/packages/cmake/cmake.inc
@@ -5,6 +5,7 @@ DESCRIPTION = "A cross-platform, open-source make system"
HOMEPAGE = "http://www.cmake.org/"
LICENSE = "Berkeley-style license"
SECTION = "console/utils"
+PR = "r1"
CMAKE_MAJOR_VERSION = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
SRC_URI = "http://www.cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz"
@@ -14,5 +15,5 @@ inherit autotools
S = "${WORKDIR}/cmake-${PV}"
do_configure () {
- ./configure --prefix=${base_prefix} || die "./bootstrap failed"
+ ./configure --prefix=${prefix} || die "./bootstrap failed"
}