summaryrefslogtreecommitdiff
path: root/system/nspr
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-21 01:07:10 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-21 01:07:10 +0000
commit70d3beb6d20bd159cacaa9ba99e8f06f2761d959 (patch)
treec85c9aef04d4167e80837d5c11a3cb6098976edb /system/nspr
parentf41ef48c4f451513041fbfb678652eddb1eee469 (diff)
downloadpackages-70d3beb6d20bd159cacaa9ba99e8f06f2761d959.tar.gz
packages-70d3beb6d20bd159cacaa9ba99e8f06f2761d959.tar.bz2
packages-70d3beb6d20bd159cacaa9ba99e8f06f2761d959.tar.xz
packages-70d3beb6d20bd159cacaa9ba99e8f06f2761d959.zip
system/n*: modernise, fix metadata
Diffstat (limited to 'system/nspr')
-rw-r--r--system/nspr/APKBUILD7
1 files changed, 2 insertions, 5 deletions
diff --git a/system/nspr/APKBUILD b/system/nspr/APKBUILD
index 667e2d189..533d31b8c 100644
--- a/system/nspr/APKBUILD
+++ b/system/nspr/APKBUILD
@@ -23,9 +23,8 @@ prepare() {
}
build() {
- local conf=
case "$CARCH" in
- *64* | s390x) conf="--enable-64bit";;
+ *64* | s390x) _conf="--enable-64bit";;
esac
cd "$builddir"/build
# ./nspr/pr/include/md/_linux.h tests only __GLIBC__ version
@@ -38,13 +37,11 @@ build() {
--disable-debug \
--enable-optimize \
--enable-ipv6 \
- $conf
+ $_conf
make CC="${CC:-gcc}" CXX="${CXX:-g++}"
}
package() {
- local file=
-
cd "$builddir"/build
make DESTDIR="$pkgdir" install