diff options
Diffstat (limited to 'base/tcl')
-rwxr-xr-x | base/tcl/Pkgfile | 13 |
1 files changed, 7 insertions, 6 deletions
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 |