diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/nspr/APKBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/main/nspr/APKBUILD b/main/nspr/APKBUILD index 531e902820..5a996bc7b0 100644 --- a/main/nspr/APKBUILD +++ b/main/nspr/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=nspr pkgver=4.10.6 -pkgrel=0 +pkgrel=1 pkgdesc="Netscape Portable Runtime" url="http://www.mozilla.org/projects/nspr/" arch="all" @@ -33,12 +33,16 @@ build() { conf="--enable-64bit" fi cd "$_builddir"/build + # ./nspr/pr/include/md/_linux.h tests only __GLIBC__ version + # to detect c-library features, list musl features here for now. + CFLAGS="$CFLAGS -D_PR_POLL_AVAILABLE -D_PR_HAVE_OFF64_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP -D_PR_HAVE_GETHOSTBYNAME2 -D_PR_HAVE_GETADDRINFO -D_PR_INET6_PROBE" \ ../nspr/configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --disable-debug \ --enable-optimize \ + --enable-ipv6 \ $conf \ || return 1 make CC="${CC:-gcc}" CXX="${CXX:-g++}" || return 1 |