valgrind: make it build in 3.x kernels, fixed glibc pkgpattern.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# Template file for 'valgrind'
|
# Template file for 'valgrind'
|
||||||
pkgname=valgrind
|
pkgname=valgrind
|
||||||
version=3.6.1
|
version=3.6.1
|
||||||
revision=1
|
revision=2
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
distfiles="http://www.valgrind.org/downloads/$pkgname-$version.tar.bz2"
|
distfiles="http://www.valgrind.org/downloads/$pkgname-$version.tar.bz2"
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
@@ -19,6 +19,12 @@ long_desc="
|
|||||||
detect a lot of problems that are otherwise very hard to find/diagnose."
|
detect a lot of problems that are otherwise very hard to find/diagnose."
|
||||||
|
|
||||||
subpackages="$pkgname-devel"
|
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 full perl ">=0"
|
||||||
Add_dependency build pkg-config
|
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
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user