New commits:
commit 89c1fe3f4d97939ddda8400ff54178f240207e9f
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>
mesalib: autogen.sh only exists in GIT checkout so only fix there
commit 78d06c741e1409ce72f5e14cb36a93a91789fa2f
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>
mesalib: bash does not support floating point arithmetic
reduce to integer.
Need to use -lt instead of < for comparison otherwise stupid
simple math such as 2411 < 243 will be true, but 2411 < 241 will
be false. This fixes libdrm always being forced.
commit 574e243e30fbb48d8c4f093b782ad7036efed771
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>
-if spell_ok libdrm && [[ $(installed_version libdrm) < 2.4.3 ]]; then
+if spell_ok libdrm && [[ $(installed_version libdrm|sed 's:\.::g') -lt 243
]]; then
force_depends libdrm
fi &&
diff --git a/graphics-libs/mesalib/HISTORY b/graphics-libs/mesalib/HISTORY
index 5b13d47..80af226 100644
--- a/graphics-libs/mesalib/HISTORY
+++ b/graphics-libs/mesalib/HISTORY
@@ -1,3 +1,11 @@
+2009-07-31 Eric Sandall <sandalle AT sourcemage.org>
+ * DEPENDS: Bash does not support floating point arithmetic, reduce
+ to integer.
+ Need to use -lt instead of < for comparison otherwise stupid simple
+ math such as 2411 < 243 will be true, but 2411 < 241 will be false.
+ This fixes libdrm always being forced
+ * PRE_BUILD: autogen.sh only exists in GIT checkout so only fix there
+
2009-07-28 Arjan Bouter <abouter AT sourcemage.org>
* PRE_BUILD: moved the sedit for configure
diff --git a/graphics-libs/mesalib/PRE_BUILD b/graphics-libs/mesalib/PRE_BUILD
index 39bdb9a..0c29c2c 100755
--- a/graphics-libs/mesalib/PRE_BUILD
+++ b/graphics-libs/mesalib/PRE_BUILD
@@ -5,7 +5,6 @@ if [[ "$MESALIB_GIT" == "y" ]]; then
else
patch -p1 < $SPELL_DIRECTORY/gl_select.patch
fi &&
-sedit "/.*configure.*/d" autogen.sh &&
cd ${SOURCE_DIRECTORY}/configs &&
sedit "s:/usr/local:/usr:g" default &&