From 70d3beb6d20bd159cacaa9ba99e8f06f2761d959 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 21 Dec 2019 01:07:10 +0000 Subject: system/n*: modernise, fix metadata --- system/nspr/APKBUILD | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'system/nspr/APKBUILD') 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 -- cgit v1.2.3-70-g09d2