From e7481e3a89aeaf3623e8fd7db1d6d214ea719073 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Mon, 6 Jun 2016 22:17:22 +0000 Subject: [PATCH] tcl: also install-private-headers. * fix tclConfig paths. --- dev-lang/tcl/tcl-8.5.18.recipe | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/dev-lang/tcl/tcl-8.5.18.recipe b/dev-lang/tcl/tcl-8.5.18.recipe index 96a72fb4c..e939786bb 100644 --- a/dev-lang/tcl/tcl-8.5.18.recipe +++ b/dev-lang/tcl/tcl-8.5.18.recipe @@ -8,7 +8,7 @@ is truly cross platform, easily deployed and highly extensible." HOMEPAGE="http://www.tcl.tk" COPYRIGHT="Regents of the University of California, Sun Microsystems, Inc., Scriptics Corporation, ActiveState Corporation and other parties" LICENSE="BSD (2-clause)" -REVISION="2" +REVISION="3" SOURCE_URI="http://sourceforge.net/projects/tcl/files/Tcl/$portVersion/tcl$portVersion-src.tar.gz" CHECKSUM_SHA256="032be57a607bdf252135b52fac9e3a7016e526242374ac7637b083ecc4c5d3c9" SOURCE_DIR="tcl$portVersion" @@ -52,20 +52,23 @@ BUILD() cd unix autoconf -f runConfigure ./configure \ - --enable-threads --enable-man-symlinks + --enable-threads --enable-man-symlinks make } INSTALL() { cd unix - make install + make install install-private-headers ln -s tclsh8.5 "${binDir}/tclsh" + sed -i -e "s#${sourceDir}/unix#${developLibDir}#" \ + -e "s#${sourceDir}#${includeDir}#" \ + ${libDir}/tclConfig.sh + prepareInstalledDevelLibs libtclstub8.5 - packageEntries devel $developDir - packageEntries devel ${libDir}/tclConfig.sh + packageEntries devel $developDir ${libDir}/tclConfig.sh } TEST()