wok-stable rev 8908

libdrm-mach64: do not use host kernel version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 28 10:38:12 2011 +0100 (2011-02-28)
parents c63a3f2739c8
children 0467a03ba03f
files libdrm-mach64/receipt
line diff
     1.1 --- a/libdrm-mach64/receipt	Mon Feb 28 02:28:06 2011 +0000
     1.2 +++ b/libdrm-mach64/receipt	Mon Feb 28 10:38:12 2011 +0100
     1.3 @@ -15,6 +15,8 @@
     1.4  {
     1.5  	cd $src
     1.6  	#DESTDIR="$DESTDIR/lib/modules/`uname -r`/kernel/"
     1.7 +	find -name Makefile | xargs sed -i \
     1.8 +		"s|/lib/modules/\`uname -r\`/build|/usr/src/linux|"
     1.9  	KERN_DIR=/usr/src/linux make
    1.10  }
    1.11