From 67ad9d5b227c75ddc038e42eeba4ec2c73fbdaa4 Mon Sep 17 00:00:00 2001 From: Thierry N Date: Fri, 14 Aug 2009 20:28:05 +0200 Subject: nspr, ajout du support 64bits --- extra/nspr/Pkgfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'extra') 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 -- cgit v1.2.3-70-g09d2