diff --git a/srcpkgs/nspr/template b/srcpkgs/nspr/template index d3ce795f69..78e671ab8a 100644 --- a/srcpkgs/nspr/template +++ b/srcpkgs/nspr/template @@ -1,7 +1,7 @@ # Template file for 'nspr' pkgname=nspr version=4.10.8 -revision=2 +revision=3 build_style=gnu-configure build_wrksrc="nspr" makedepends="zlib-devel" @@ -18,9 +18,9 @@ do_configure() { unset CFLAGS _args+=" --target=$XBPS_CROSS_TRIPLET" fi - if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then - _args+=" --enable-64bit" - fi + case "$XBPS_TARGET_MACHINE" in + x86_64*) _args+=" --enable-64bit";; + esac ./configure --prefix=/usr --libdir=/usr/lib \ --includedir=/usr/include/nspr --enable-optimize \