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 | |
parent | 421777207ccaa41591134f1e3b8e7d5674c6b9bf (diff) | |
download | alpine_aports-273d8a2a2ba3d4bbeac807f4aebe59a1868b8fc3.tar.bz2 alpine_aports-273d8a2a2ba3d4bbeac807f4aebe59a1868b8fc3.tar.xz alpine_aports-273d8a2a2ba3d4bbeac807f4aebe59a1868b8fc3.zip |
main/nspr: support for x86_64
-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 @@ | |||
1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> | 1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> |
2 | pkgname=nspr | 2 | pkgname=nspr |
3 | pkgver=4.8.6 | 3 | pkgver=4.8.6 |
4 | pkgrel=0 | 4 | pkgrel=1 |
5 | pkgdesc="Netscape Portable Runtime" | 5 | pkgdesc="Netscape Portable Runtime" |
6 | url="http://www.mozilla.org/projects/nspr/" | 6 | url="http://www.mozilla.org/projects/nspr/" |
7 | license="MPL-1.1 GPL-2 LGPL-2.1" | 7 | license="MPL-1.1 GPL-2 LGPL-2.1" |
@@ -28,8 +28,13 @@ prepare() { | |||
28 | } | 28 | } |
29 | 29 | ||
30 | build() { | 30 | build() { |
31 | local conf= | ||
32 | if [ "$CARCH" = "x86_64" ];then | ||
33 | conf="--enable-64bit" | ||
34 | fi | ||
31 | cd "$_builddir"/build | 35 | cd "$_builddir"/build |
32 | ../mozilla/nsprpub/configure --prefix=/usr \ | 36 | ../mozilla/nsprpub/configure --prefix=/usr \ |
37 | $conf \ | ||
33 | || return 1 | 38 | || return 1 |
34 | make CC="${CC:-gcc}" CXX="${CXX:-g++}" || return 1 | 39 | make CC="${CC:-gcc}" CXX="${CXX:-g++}" || return 1 |
35 | } | 40 | } |