aboutsummaryrefslogtreecommitdiffstats
path: root/main/jansson/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-05-14 06:58:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-05-14 07:02:37 +0000
commit27226291aa918607683c210c9d2a291027abd5eb (patch)
tree14a551527ba4c83932b7fd706b92a56386ba793d /main/jansson/APKBUILD
parent5b8e12e7e076df5d4bce99dc981fbcf11d7a2eb4 (diff)
downloadaports-27226291aa918607683c210c9d2a291027abd5eb.tar.bz2
aports-27226291aa918607683c210c9d2a291027abd5eb.tar.xz
main/jansson: fix libm underlinking
This is more a workaround than a fix. Proper fix should do a check in configure.ac that can handle isnan/isinf as macros. ref #1851
Diffstat (limited to 'main/jansson/APKBUILD')
-rw-r--r--main/jansson/APKBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/jansson/APKBUILD b/main/jansson/APKBUILD
index ea4f7d6c39..d3e8a9cb3d 100644
--- a/main/jansson/APKBUILD
+++ b/main/jansson/APKBUILD
@@ -1,8 +1,7 @@
-# Contributor:
-# Maintainer:
+# Maintainer: Natanel Copa <ncopa@alpinelinux.org>
pkgname=jansson
pkgver=2.4
-pkgrel=0
+pkgrel=1
pkgdesc="lightweight JSON library"
url="http://www.digip.org/jansson/"
arch="all"
@@ -27,6 +26,7 @@ prepare() {
build() {
cd "$_builddir"
+ LIBS=-lm \
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \