diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2008-08-04 15:21:35 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2008-08-04 15:21:35 +0000 |
commit | 4216de7b49215f46cfb0071753b2a371a0380416 (patch) | |
tree | 516dc29c5d1d498dc0530e6017a1f214b7741c22 /packages/cmake/cmake.inc | |
parent | 89db1179c644dde2377addf6d0c44ec330e151f6 (diff) |
cmake: configure with proper prefix
Diffstat (limited to 'packages/cmake/cmake.inc')
-rw-r--r-- | packages/cmake/cmake.inc | 3 |
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" } |