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()