Fixed cmake-2.8.10.2 so that it puts cmake.m4 in proper place.

Also removed commented out steps in bep that are no longer needed.
This commit is contained in:
Scott McCreary
2013-01-03 01:07:04 +00:00
parent a948039c0d
commit 41ac5ce752

View File

@@ -3,15 +3,14 @@ HOMEPAGE="http://www.cmake.org"
SRC_URI="http://www.cmake.org/files/v2.8/cmake-2.8.10.2.tar.gz"
CHECKSUM_MD5="097278785da7182ec0aea8769d06860c"
REVISION="1"
STATUS_HAIKU="broken"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
cd cmake-2.8.10.2
# cmake appends the prefix to mandir and datadir
# so using ../../ to back that part out but for some reason
# the doc was also picking up /boot, so had to back it out 3 times
# this seems to work but might still need some further adjusting
# sed -i 's/${CMAKE_DATA_DIR}\/include cmCPluginAPI.h/${CMAKE_PREFIX_DIR}\/include cmCPluginAPI.h/g' Source/CMakeLists.txt
# cmake assumes the aclocal dir is in share/aclocal
sed -i 's/share\/aclocal/data\/aclocal/g' Source/cmakemain.cxx
sed -i 's/share\/aclocal/data\/aclocal/g' Utilities/CMakeLists.txt
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--datadir=/data/cmake \
--docdir=/documentation/doc/CMake \