CMake: fix on non-gcc2 architectures

Checking for the compiler version at packaging time doesn't work. So, do
it earlier and export a variable for it.

Also fix some variable names to make a check work and avoid cmake
failing in strange ways later on.
This commit is contained in:
Adrien Destugues
2013-11-22 17:54:05 +01:00
parent b177b0dfd2
commit a2e291e446
2 changed files with 75 additions and 2 deletions

View File

@@ -10,8 +10,8 @@ LICENSE="CMake"
COPYRIGHT="2002-2013 Kitware, Inc., Insight Consortium, All rights reserved."
SRC_URI="http://www.cmake.org/files/v2.8/cmake-2.8.11.2.tar.gz"
CHECKSUM_MD5="6f5d7b8e7534a5d9e1a7664ba63cf882"
REVISION="5"
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
REVISION="6"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
PROVIDES="
cmake = $portVersion compat >= 2.8