cmake: configure with proper prefix
authorMarcin Juszkiewicz <hrw@openembedded.org>
Mon, 4 Aug 2008 15:21:35 +0000 (15:21 +0000)
committerMarcin Juszkiewicz <hrw@openembedded.org>
Mon, 4 Aug 2008 15:21:35 +0000 (15:21 +0000)
packages/cmake/cmake.inc

index d046c84..eb81668 100644 (file)
@@ -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"
 }