aboutsummaryrefslogtreecommitdiffstats
path: root/main/nss
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-12-01 10:10:39 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-12-01 10:11:27 +0000
commit0f6e6cbb840ffa1154965e2e408b6a5e231ec433 (patch)
treee037747104b09d214192644249f13f561c9b1c2e /main/nss
parent273d8a2a2ba3d4bbeac807f4aebe59a1868b8fc3 (diff)
downloadaports-0f6e6cbb840ffa1154965e2e408b6a5e231ec433.tar.bz2
aports-0f6e6cbb840ffa1154965e2e408b6a5e231ec433.tar.xz
main/nss: support for x86_64
Diffstat (limited to 'main/nss')
-rw-r--r--main/nss/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/main/nss/APKBUILD b/main/nss/APKBUILD
index 4e5a6436c1..04ba8d0117 100644
--- a/main/nss/APKBUILD
+++ b/main/nss/APKBUILD
@@ -2,7 +2,7 @@
pkgname=nss
pkgver=3.12.8
_ver=3_12_8
-pkgrel=0
+pkgrel=1
pkgdesc="Mozilla Network Security Services"
url="http://www.mozilla.org/projects/security/pki/nss/"
license="MPL GPL"
@@ -41,6 +41,9 @@ build() {
export NSPR_INCLUDE_DIR=`pkg-config --cflags-only-I nspr | sed 's/-I//'`
export NSPR_LIB_DIR=`pkg-config --libs-only-L nspr | sed 's/-L.//'`
export XCFLAGS="${CFLAGS}"
+ if [ "$CARCH" = "x86_64" ]; then
+ export USE_64=1
+ fi
make -j 1 -C mozilla/security/coreconf || return 1
make -j 1 -C mozilla/security/dbm || return 1
make -j 1 -C mozilla/security/nss || return 1