aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/tcltk
diff options
context:
space:
mode:
authorNoor Ahsan <noor_ahsan@mentor.com>2010-08-31 00:32:34 +0000
committerKhem Raj <raj.khem@gmail.com>2010-09-30 13:17:20 -0700
commit296f8244f324c355d693307ded8d57b0e49752b6 (patch)
treeb593e4d16aad9ecd0aa4392888708e672db96650 /recipes/tcltk
parent6c21af6a85996ed5891925ca2221c4615048a331 (diff)
downloadopenembedded-296f8244f324c355d693307ded8d57b0e49752b6.tar.gz
tcl: Merged native and target packages using BBCLASSEXTEND
* Set BBCLASSEXTEND to native. * Change /usr/include/tcl-private to ${includedir}/tcl-private so that it can be used for native package. * Bump PR to "r8" Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/tcltk')
-rw-r--r--recipes/tcltk/tcl_8.5.8.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/recipes/tcltk/tcl_8.5.8.bb b/recipes/tcltk/tcl_8.5.8.bb
index e8905f0fa2..86302407c7 100644
--- a/recipes/tcltk/tcl_8.5.8.bb
+++ b/recipes/tcltk/tcl_8.5.8.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Tool Command Language"
HOMEPAGE = "http://tcl.sourceforge.net"
SECTION = "devel/tcltk"
LICENSE = "tcl"
-PR = "r7"
+PR = "r8"
SRC_URI = "\
${SOURCEFORGE_MIRROR}/tcl/tcl${PV}-src.tar.gz \
@@ -48,8 +48,9 @@ FILES_${PN} += "${libdir}/tcl*"
FILES_${PN}-dev += "${libdir}/tclConfig.sh"
BINCONFIG_GLOB = "*Config.sh"
+BBCLASSEXTEND = "native"
tcl_sysroot() {
- sed -i 's:/usr/include/tcl-private:${STAGING_INCDIR}/tcl-${PV}:' tclConfig.sh
+ sed -i 's:${includedir}/tcl-private:${STAGING_INCDIR}/tcl-${PV}:' tclConfig.sh
}