diff options
author | Koen Kooi <koen@openembedded.org> | 2010-05-23 09:54:11 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2010-05-23 09:59:43 +0200 |
commit | 104b91c471125482eb83893425fb031557e892b4 (patch) | |
tree | 315d494d525c10f41608227f6edaf824634b074b /recipes/tcltk/tcl_8.5.8.bb | |
parent | 6a3e08e32d190eaea554d27023a02a78acbb1656 (diff) |
tcl 8.5.8: fix header location
* remember to do 'bitbake glibc' after building tcl so packaged-staging can restore its headers
Diffstat (limited to 'recipes/tcltk/tcl_8.5.8.bb')
-rw-r--r-- | recipes/tcltk/tcl_8.5.8.bb | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/recipes/tcltk/tcl_8.5.8.bb b/recipes/tcltk/tcl_8.5.8.bb index 220e858056..447da5db94 100644 --- a/recipes/tcltk/tcl_8.5.8.bb +++ b/recipes/tcltk/tcl_8.5.8.bb @@ -3,6 +3,8 @@ LICENSE = "tcl" SECTION = "devel/tcltk" HOMEPAGE = "http://tcl.sourceforge.net" +PR = "r5" + SRC_URI = "\ ${SOURCEFORGE_MIRROR}/tcl/tcl${PV}-src.tar.gz \ file://confsearch.diff;patch=1;pnum=2 \ @@ -33,15 +35,19 @@ BINCONFIG_GLOB = "*Config.sh" do_install() { autotools_do_install # Stage a few extra headers to make tk happy - install -m 0644 ../generic/*.h ${D}${includedir} - install -m 0644 *.h ${D}${includedir} + install -d ${D}${includedir}/tcl-${PV}/generic + install -m 0644 ../generic/*.h ${D}${includedir}/tcl-${PV}/generic + install -m 0644 *.h ${D}${includedir}/tcl-${PV}/generic + install -d ${D}${includedir}/tcl-${PV}/unix + install -m 0644 *Unix*.h ${D}${includedir}/tcl-${PV}/unix/ + rm -f ${D}${includedir}/regex.h ln -sf tclsh8.5 ${D}${bindir}/tclsh } SYSROOT_PREPROCESS_FUNCS =+ "tcl_sysroot" tcl_sysroot() { - sed -i 's:/usr/include/tcl-private:${STAGING_INCDIR}:' tclConfig.sh + sed -i 's:/usr/include/tcl-private:${STAGING_INCDIR}/tcl-${PV}:' tclConfig.sh } PACKAGES =+ "${PN}-lib" |