diff options
Diffstat (limited to 'main/nspr/APKBUILD')
-rw-r--r-- | main/nspr/APKBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/main/nspr/APKBUILD b/main/nspr/APKBUILD index 57689a33e9..580ae7ed1d 100644 --- a/main/nspr/APKBUILD +++ b/main/nspr/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=nspr pkgver=4.8.6 -pkgrel=0 +pkgrel=1 pkgdesc="Netscape Portable Runtime" url="http://www.mozilla.org/projects/nspr/" license="MPL-1.1 GPL-2 LGPL-2.1" @@ -28,8 +28,13 @@ prepare() { } build() { + local conf= + if [ "$CARCH" = "x86_64" ];then + conf="--enable-64bit" + fi cd "$_builddir"/build ../mozilla/nsprpub/configure --prefix=/usr \ + $conf \ || return 1 make CC="${CC:-gcc}" CXX="${CXX:-g++}" || return 1 } |