[arch-commits] CVS update of extra/devel/tcl (PKGBUILD)

andyrtr at archlinux.org andyrtr at archlinux.org
Sun Nov 11 22:14:08 UTC 2007


    Date: Sunday, November 11, 2007 @ 17:14:08
  Author: andyrtr
    Path: /home/cvs-extra/extra/devel/tcl

Modified: PKGBUILD (1.31 -> 1.32)

upgpkg: tcl 8.4.16-2
#3602 fixed


----------+
 PKGBUILD |   15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)


Index: extra/devel/tcl/PKGBUILD
diff -u extra/devel/tcl/PKGBUILD:1.31 extra/devel/tcl/PKGBUILD:1.32
--- extra/devel/tcl/PKGBUILD:1.31	Sat Sep 22 08:14:02 2007
+++ extra/devel/tcl/PKGBUILD	Sun Nov 11 17:14:08 2007
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD,v 1.31 2007/09/22 12:14:02 andyrtr Exp $
+# $Id: PKGBUILD,v 1.32 2007/11/11 22:14:08 andyrtr Exp $
 # Maintainer: dorphell <dorphell at archlinux.org>
 # Committer: Judd Vinet <jvinet at zeroflux.org>
 pkgname=tcl
 pkgver=8.4.16
-pkgrel=1
+pkgrel=2
 pkgdesc="The Tcl scripting language"
 arch=(i686 x86_64)
 license=('custom')
@@ -23,4 +23,15 @@
   ln -sf tclsh8.4 ${startdir}/pkg/usr/bin/tclsh
   # install license
   install -Dm644 ../license.terms $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
+
+  # remove buildroot traces / fixes #3602
+  sed -i \
+  -e "s,^TCL_BUILD_LIB_SPEC='-L.*/unix,TCL_BUILD_LIB_SPEC='-L/usr/lib," \
+  -e "s,^TCL_SRC_DIR='.*',TCL_SRC_DIR='/usr/include'," \
+  -e "s,^TCL_BUILD_STUB_LIB_SPEC='-L.*/unix,TCL_BUILD_STUB_LIB_SPEC='-L/usr/lib," \
+  -e "s,^TCL_BUILD_STUB_LIB_PATH='.*/unix,TCL_BUILD_STUB_LIB_PATH='/usr/lib," \
+  -e "s,^TCL_LIB_FILE='libtcl8.4..TCL_DBGX..so',TCL_LIB_FILE=\"libtcl8.4\$\{TCL_DBGX\}.so\"," \
+  -e "s,^TCL_CC_SEARCH_FLAGS='\(.*\)',TCL_CC_SEARCH_FLAGS='\1:/usr/lib'," \
+  -e "s,^TCL_LD_SEARCH_FLAGS='\(.*\)',TCL_LD_SEARCH_FLAGS='\1:/usr/lib'," \
+  $startdir/pkg/usr/lib/tclConfig.sh
 }




More information about the arch-commits mailing list