From 8236aa86d9fb7dfe2d72a149419cc1a9ab393bc8 Mon Sep 17 00:00:00 2001 From: sibel Date: Sun, 2 Jan 2011 18:52:58 +0100 Subject: tcl#8.5.9-1, maj port --- base/tcl/Pkgfile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'base/tcl') diff --git a/base/tcl/Pkgfile b/base/tcl/Pkgfile index 9950490ef..3cf80a972 100755 --- a/base/tcl/Pkgfile +++ b/base/tcl/Pkgfile @@ -8,15 +8,16 @@ version=8.5.9 release=1 source=( http://downloads.sourceforge.net/$name/$name$version-src.tar.gz) - - build() { # build package cd $name$version/unix - ./configure --prefix=/usr\ - --mandir=/usr/share/man\ - --infodir=/usr/share/info\ - --enable-threads + + if [ "$CARCH" = "x86_64" ]; then + ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads --enable-64bit + else + ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads --disable-64bit + fi + make make DESTDIR=$PKG install make DESTDIR=$PKG install-private-headers -- cgit v1.2.3-70-g09d2