diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-14 20:28:05 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-14 20:28:05 +0200 |
commit | 67ad9d5b227c75ddc038e42eeba4ec2c73fbdaa4 (patch) | |
tree | 73eb1441a38e477ef348ac700025e0787d196b62 /extra/nspr/Pkgfile | |
parent | 046c0f7e9a12fa2377ce041865040cb446986b3e (diff) | |
download | nutyx-extra-67ad9d5b227c75ddc038e42eeba4ec2c73fbdaa4.tar.gz nutyx-extra-67ad9d5b227c75ddc038e42eeba4ec2c73fbdaa4.tar.bz2 nutyx-extra-67ad9d5b227c75ddc038e42eeba4ec2c73fbdaa4.tar.xz nutyx-extra-67ad9d5b227c75ddc038e42eeba4ec2c73fbdaa4.zip |
nspr, ajout du support 64bits
Diffstat (limited to 'extra/nspr/Pkgfile')
-rw-r--r-- | extra/nspr/Pkgfile | 5 |
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 |