summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-01-02 18:52:58 +0100
committersibel <lesibel@free.fr>2011-01-02 18:52:58 +0100
commit8236aa86d9fb7dfe2d72a149419cc1a9ab393bc8 (patch)
tree79a29bcc331d8bc2727018b93575daf8874d349e /base
parentb572907792e7a65af1a8b66ec6e56b0da6da3395 (diff)
downloadnutyx-pakxe-8236aa86d9fb7dfe2d72a149419cc1a9ab393bc8.tar.gz
nutyx-pakxe-8236aa86d9fb7dfe2d72a149419cc1a9ab393bc8.tar.bz2
nutyx-pakxe-8236aa86d9fb7dfe2d72a149419cc1a9ab393bc8.tar.xz
nutyx-pakxe-8236aa86d9fb7dfe2d72a149419cc1a9ab393bc8.zip
tcl#8.5.9-1, maj port
Diffstat (limited to 'base')
-rwxr-xr-xbase/tcl/Pkgfile13
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