CMake support in Colormake.

This commit is contained in:
Kolan Sh 2012-05-28 16:33:45 +04:00
parent 61a6d49e4f
commit 0ff1d001bb
3 changed files with 17 additions and 1 deletions

View File

@ -1,6 +1,7 @@
AUX colormake-0.2-cmake.patch 351 RMD160 2d9d5802467daee4f79d8941f3ad78c8ccdc800a SHA1 3fc4d1cbde9e700c4ef7c75ece1d104caf37fbba SHA256 73ce615d4a37f59fe40f80fc9d203b89ad9730b60201d068d38d583aafee8c13
AUX colormake-0.2-disable-broken-tagging.patch 661 RMD160 c9cee92d1a83b3696ec2ee75ef037ab4734112b8 SHA1 5e2fde865ffe028f5bfea6cb69fd938b5671105c SHA256 b61d0262b8a69edf7c20b07c5698122a35ad251ea5e542bd9926a622daefa944
AUX colormake-0.2-save-pipe-exit-status.patch 177 RMD160 a20943339dfaa80fc733e5837e1b7bd0cc4e90b3 SHA1 979ee9eaf4878c6be528ef02772c4752a48942a7 SHA256 98a95b839da18d36bbca507e1374db4c1bccea8bbb41e590d75dc4fa40051c5c
DIST colormake-0.2.tar.gz 9871 RMD160 b39e22de6ed72a5874af56e2fc46774a9452af4d SHA1 d24e1cd27c121aba86b1610616848228eebd1393 SHA256 8e7cc49acbc2b9b52ce2d87993f709e6813f0ba3aff0b0bbe7630c3a24aff969
EBUILD colormake-0.2-r1.ebuild 661 RMD160 e941b599d2c4ad04a1ca08c794db64fb0ae2a8f1 SHA1 fd33688f71f8598fbd960b5ab7cdeefc3f843342 SHA256 5178058dd21f693bb96294e2a615d17f5d3256980d3cb135154f1e3c6c75ff28
EBUILD colormake-0.2-r2.ebuild 700 RMD160 66008f2895bc2aad342dd48162c69f9c8e9562d9 SHA1 c14a4f53a24139c670e8308284d7b82d0a725480 SHA256 7d177dee64dd67c231a46ca224f7180118abcec2e676037fade4f67a967e3844
MISC ChangeLog 401 RMD160 d85ebf7cd9ddd355508f8955725f432ff44998db SHA1 a73e3197c52ee026c17301fa44e0e20bd3c8a05c SHA256 8e421e7b3cf41b42e39be0004ed37851540ca994de9c9d2e76bfce9a6110746e
MISC metadata.xml 208 RMD160 c18611400760e42bdd001905be0a63c2e963bcea SHA1 595816105cac477cb85792a182e15888029118a1 SHA256 c4841c87f0c2b9b5e679a27dc72180be8d508fb3f5df0fbab2ec2c805c0a6d82

View File

@ -20,6 +20,7 @@ src_unpack() {
cd "${S}"
use vanilla || epatch "${FILESDIR}"/${P}-disable-broken-tagging.patch
epatch "${FILESDIR}"/${P}-save-pipe-exit-status.patch
epatch "${FILESDIR}"/${P}-cmake.patch
mv cmake colormake # prevent clash with dev-util/cmake
rm Makefile
}

View File

@ -0,0 +1,14 @@
--- cmake.orig 2012-05-28 16:26:51.656114623 +0400
+++ cmake 2012-05-28 16:27:03.745925039 +0400
@@ -4,5 +4,9 @@
# Jumps to the first gcc error that occurs during the build process.
#
-make $* 2>&1 | colormake.pl `stty size`
-exit $PIPESTATUS
+if [ -f CMakeCache.txt ]; then
+ make $*
+else
+ make $* 2>&1 | colormake.pl
+ exit $PIPESTATUS
+fi