diff options
author | sibel <lesibel@free.fr> | 2011-01-02 18:52:58 +0100 |
---|---|---|
committer | sibel <lesibel@free.fr> | 2011-01-02 18:52:58 +0100 |
commit | 8236aa86d9fb7dfe2d72a149419cc1a9ab393bc8 (patch) | |
tree | 79a29bcc331d8bc2727018b93575daf8874d349e /base/tcl/Pkgfile | |
parent | b572907792e7a65af1a8b66ec6e56b0da6da3395 (diff) | |
download | nutyx-extra-8236aa86d9fb7dfe2d72a149419cc1a9ab393bc8.tar.gz nutyx-extra-8236aa86d9fb7dfe2d72a149419cc1a9ab393bc8.tar.bz2 nutyx-extra-8236aa86d9fb7dfe2d72a149419cc1a9ab393bc8.tar.xz nutyx-extra-8236aa86d9fb7dfe2d72a149419cc1a9ab393bc8.zip |
tcl#8.5.9-1, maj port
Diffstat (limited to 'base/tcl/Pkgfile')
-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 |