aboutsummaryrefslogtreecommitdiffstats
path: root/main/nspr
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-12-01 10:10:09 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-12-01 10:11:27 +0000
commit273d8a2a2ba3d4bbeac807f4aebe59a1868b8fc3 (patch)
tree2c3a89b75618a992a447e5404ce0cdc9db62138b /main/nspr
parent421777207ccaa41591134f1e3b8e7d5674c6b9bf (diff)
downloadaports-273d8a2a2ba3d4bbeac807f4aebe59a1868b8fc3.tar.bz2
aports-273d8a2a2ba3d4bbeac807f4aebe59a1868b8fc3.tar.xz
main/nspr: support for x86_64
Diffstat (limited to 'main/nspr')
-rw-r--r--main/nspr/APKBUILD7
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
}