valgrind: make it build in 3.x kernels, fixed glibc pkgpattern.

This commit is contained in:
Juan RP 2011-10-12 15:51:32 +02:00
parent 69f65da213
commit be8b6df05c
1 changed files with 8 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'valgrind'
pkgname=valgrind
version=3.6.1
revision=1
revision=2
patch_args="-Np1"
distfiles="http://www.valgrind.org/downloads/$pkgname-$version.tar.bz2"
build_style=gnu_configure
@ -19,6 +19,12 @@ long_desc="
detect a lot of problems that are otherwise very hard to find/diagnose."
subpackages="$pkgname-devel"
Add_dependency run glibc "<=2.14.[0-9]*"
Add_dependency run glibc ">=2.14<2.15"
Add_dependency full perl ">=0"
Add_dependency build pkg-config
pre_configure()
{
# 3.0 shouldn't be treated differently than 2.6 Linux kernels...
sed -i -e "s|2.6.\*)|3.0.\*)|" configure
}