summaryrefslogtreecommitdiffstats
path: root/extra/nspr
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-14 20:28:05 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-14 20:28:05 +0200
commit67ad9d5b227c75ddc038e42eeba4ec2c73fbdaa4 (patch)
tree73eb1441a38e477ef348ac700025e0787d196b62 /extra/nspr
parent046c0f7e9a12fa2377ce041865040cb446986b3e (diff)
downloadnutyx-pakxe-67ad9d5b227c75ddc038e42eeba4ec2c73fbdaa4.tar.gz
nutyx-pakxe-67ad9d5b227c75ddc038e42eeba4ec2c73fbdaa4.tar.bz2
nutyx-pakxe-67ad9d5b227c75ddc038e42eeba4ec2c73fbdaa4.tar.xz
nutyx-pakxe-67ad9d5b227c75ddc038e42eeba4ec2c73fbdaa4.zip
nspr, ajout du support 64bits
Diffstat (limited to 'extra/nspr')
-rw-r--r--extra/nspr/Pkgfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/extra/nspr/Pkgfile b/extra/nspr/Pkgfile
index a9a4b0824..40c8db5bb 100644
--- a/extra/nspr/Pkgfile
+++ b/extra/nspr/Pkgfile
@@ -11,8 +11,9 @@ source=(ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.8/src/$name-$vers
$name.pc.in)
build() {
+ _ARCH=`uname -m`
local NSPR_LIBS NSPR_CFLAGS NSPR_VERSION
-
+ [ "`uname -m`" == "x86_64" ] && confflags="--enable-64bit"
cd $name-$version
./mozilla/nsprpub/configure \
@@ -20,7 +21,7 @@ build() {
--libdir=/usr/lib \
--includedir=/usr/include/nspr \
--enable-optimize="$CFLAGS" \
- --disable-debug
+ --disable-debug ${confflags}
make
make DESTDIR=$PKG install