diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-12-01 10:10:09 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-12-01 10:11:27 +0000 |
commit | 273d8a2a2ba3d4bbeac807f4aebe59a1868b8fc3 (patch) | |
tree | 2c3a89b75618a992a447e5404ce0cdc9db62138b /main/nspr | |
parent | 421777207ccaa41591134f1e3b8e7d5674c6b9bf (diff) | |
download | aports-273d8a2a2ba3d4bbeac807f4aebe59a1868b8fc3.tar.bz2 aports-273d8a2a2ba3d4bbeac807f4aebe59a1868b8fc3.tar.xz |
main/nspr: support for x86_64
Diffstat (limited to 'main/nspr')
-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 } |