Date: Sunday, March 11, 2018 @ 23:34:38
  Author: arojas
Revision: 318659

Install tcl.m4 (FS#57794)

Modified:
  tcl/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-03-11 23:07:42 UTC (rev 318658)
+++ PKGBUILD    2018-03-11 23:34:38 UTC (rev 318659)
@@ -3,7 +3,7 @@
 
 pkgname=tcl
 pkgver=8.6.8
-pkgrel=1
+pkgrel=2
 pkgdesc="The Tcl scripting language"
 arch=('x86_64')
 url="http://tcl.sourceforge.net/";
@@ -21,8 +21,7 @@
 
 build() {
   cd tcl${pkgver}/unix
-  [[ $CARCH == "x86_64" ]] && BIT="--enable-64bit"
-  ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads $BIT
+  ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads 
--enable-64bit
   make
 }
 
@@ -37,6 +36,7 @@
   ln -sf tclsh${pkgver%.*} "${pkgdir}/usr/bin/tclsh"
   ln -sf libtcl${pkgver%.*}.so "${pkgdir}/usr/lib/libtcl.so"
   install -Dm644 ../license.terms 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm644 tcl.m4 -t "$pkgdir"/usr/share/aclocal
 
   # remove buildroot traces
   sed -e "s#${srcdir}/tcl${pkgver}/unix#/usr/lib#" \

Reply via email to