summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Tian <kevin.tian@intel.com>2011-03-18 17:32:09 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-03-18 11:36:54 +0000
commit34869c6d61a9729e977ced19897b713213fd620b (patch)
treef951bf154366140a4a20c86e84aba7f02a4ae70f
parent2a3ff59ef5a6cf606504a1dabaee3e6bccb80c4c (diff)
downloadpoky-34869c6d61a9729e977ced19897b713213fd620b.tar.gz
slang: specify --x-includes to pass qa sanity check
slang by default hardcodes a list of host dirs to search for X header files, which may break qa sanity check. Use --x-includes to specify sysroot as the fix. Fix [YOCTO 907] (From OE-Core rev: 35c9ed7d49309ce0babbf93e205fb2dab117c69f) Signed-off-by: Kevin Tian <kevin.tian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/slang/slang_2.2.2.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-extended/slang/slang_2.2.2.bb b/meta/recipes-extended/slang/slang_2.2.2.bb
index f77a946c6e..29d9e46d51 100644
--- a/meta/recipes-extended/slang/slang_2.2.2.bb
+++ b/meta/recipes-extended/slang/slang_2.2.2.bb
@@ -10,7 +10,7 @@ to recode S-Lang procedures in C if you need to."
10SECTION = "libs" 10SECTION = "libs"
11PRIORITY = "optional" 11PRIORITY = "optional"
12DEPENDS = "pcre" 12DEPENDS = "pcre"
13PR = "r1" 13PR = "r2"
14 14
15LICENSE = "GPL Artistic" 15LICENSE = "GPL Artistic"
16LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" 16LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
@@ -24,6 +24,7 @@ inherit autotools
24SRC_URI[md5sum] = "974437602a781cfe92ab61433dd16d03" 24SRC_URI[md5sum] = "974437602a781cfe92ab61433dd16d03"
25SRC_URI[sha256sum] = "cfaf8551fa3855f9b0043309bb553ef6d457f931b404df5a6ba6a5a69371fc42" 25SRC_URI[sha256sum] = "cfaf8551fa3855f9b0043309bb553ef6d457f931b404df5a6ba6a5a69371fc42"
26 26
27EXTRA_OECONF += " --x-includes=${STAGING_DIR_HOST}/usr/X11/include"
27do_install() { 28do_install() {
28 oe_runmake install DESTDIR=${D} -e 'INST_LIB_DIR=${STAGING_DIR_HOST}/usr/lib' 29 oe_runmake install DESTDIR=${D} -e 'INST_LIB_DIR=${STAGING_DIR_HOST}/usr/lib'
29} 30}