xorg-xserver-common: substitute drmfix.patch with a more robust sed statement
authorKoen Kooi <koen@openembedded.org>
Wed, 23 May 2007 13:35:04 +0000 (13:35 +0000)
committerKoen Kooi <koen@openembedded.org>
Wed, 23 May 2007 13:35:04 +0000 (13:35 +0000)
packages/xorg-xserver/xorg-xserver-common.inc

index ce76580..7bcd483 100644 (file)
@@ -47,6 +47,10 @@ PACKAGES =+ "${PN}-multimedia ${PN}-configtools"
 FILES_${PN}-multimedia = "${libdir}/xorg/modules/multimedia/*.so"
 FILES_${PN}-configtools = "${bindir}/xorgconfig ${bindir}/xorgcfg"
 
+do_configure_prepend() {
+        sed -i -e s:/usr/include/drm:${STAGING_INCDIR}/drm:g hw/xfree86/os-support/linux/Makefile.am 
+}
+
 do_stage() {
        autotools_stage_all
 }