diff options
author | Danny Rawlins <romster@shortcircuit.net.au> | 2008-07-25 17:39:58 +1000 |
---|---|---|
committer | Danny Rawlins <romster@shortcircuit.net.au> | 2008-07-25 17:43:57 +1000 |
commit | b7b3b7f4af54227ef436791aadd02a32eaac4ca6 (patch) | |
tree | 5371250a3c8509ef453dedba706a00653e5de23f | |
parent | 6c3336a9251e1b35dbf1199f99d3390bbcfb3394 (diff) | |
download | contrib-b7b3b7f4af54227ef436791aadd02a32eaac4ca6.tar.gz contrib-b7b3b7f4af54227ef436791aadd02a32eaac4ca6.tar.xz |
tcl: fix config path
-rw-r--r-- | tcl/.footprint | 1 | ||||
-rw-r--r-- | tcl/Pkgfile | 11 |
2 files changed, 8 insertions, 4 deletions
diff --git a/tcl/.footprint b/tcl/.footprint index 9fd6b295d..0657c43aa 100644 --- a/tcl/.footprint +++ b/tcl/.footprint @@ -22,6 +22,7 @@ drwxr-xr-x root/root usr/include/ -rw-r--r-- root/root usr/include/tclTomMathDecls.h -rw-r--r-- root/root usr/include/tommath.h drwxr-xr-x root/root usr/lib/ +lrwxrwxrwx root/root usr/lib/libtcl.so -> usr/lib/libtcl8.5.so -r-xr-xr-x root/root usr/lib/libtcl8.5.so -rw-r--r-- root/root usr/lib/libtclstub8.5.a drwxr-xr-x root/root usr/lib/tcl8.5/ diff --git a/tcl/Pkgfile b/tcl/Pkgfile index c905ddb02..5b75941c7 100644 --- a/tcl/Pkgfile +++ b/tcl/Pkgfile @@ -5,7 +5,7 @@ name=tcl version=8.5.3 -release=1 +release=2 source=(http://dl.sourceforge.net/sourceforge/$name/$name$version-src.tar.gz) build() { @@ -19,11 +19,14 @@ build() { cp tclUnixPort.h $PKG/usr/include/tclPort.h cp tclUnixThrd.h $PKG/usr/include/tclThrd.h - sed -i -e "s|$SRC/tcl$version/unix|/usr/lib|" $PKG/usr/lib/tclConfig.sh + sed -i \ + -e "s|TCL_SRC_DIR='.*'|TCL_SRC_DIR='/usr/lib'|" \ + -e "s|$SRC/tcl$version/unix|/usr/lib|" \ + $PKG/usr/lib/tclConfig.sh rm $PKG/usr/include/regex.h - - ln -sf tclsh${version%.*} $PKG/usr/bin/tclsh + ln -s tclsh${version%.*} $PKG/usr/bin/tclsh + ln -s usr/lib/libtcl${version%.*}.so $PKG/usr/lib/libtcl.so chmod -R u+w $PKG/usr/man } |