valgrind: make this build on linux-[0-9]*; re-add armv7 host detection.

This commit is contained in:
Juan RP 2015-05-10 21:14:24 +02:00
parent 76d2ec6713
commit ec76dbe46e
2 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- configure.orig 2015-05-10 21:13:43.957032176 +0200
+++ configure 2015-05-10 21:13:54.365150623 +0200
@@ -5553,7 +5553,7 @@ $as_echo_n "checking for the kernel vers
kernel=`uname -r`
case "${kernel}" in
- 2.6.*|3.*)
+ 2.6.*|[3-9].*)
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.6.x/3.x family (${kernel})" >&5
$as_echo "2.6.x/3.x family (${kernel})" >&6; }

View file

@ -15,6 +15,10 @@ license="GPL-2"
distfiles="http://www.valgrind.org/downloads/${pkgname}-${version}.tar.bz2"
checksum=fa253dc26ddb661b6269df58144eff607ea3f76a9bcfe574b0c7726e1dfcb997
if [ "$XBPS_TARGET_MACHINE" = "armv7l" ]; then
configure_args+=" ac_cv_host=armv7l-unknown-linux-gnueabihf"
fi
valgrind-devel_package() {
depends="valgrind>=${version}"
short_desc+=" - development files"