mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
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:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user