diff options
author | jmcneill <jmcneill@pkgsrc.org> | 2020-08-02 12:08:35 +0000 |
---|---|---|
committer | jmcneill <jmcneill@pkgsrc.org> | 2020-08-02 12:08:35 +0000 |
commit | 38f2d1f757d4001986acf804a6a1329d313e1333 (patch) | |
tree | 19b51004e08ebc05a045b2a9aa04a114af4b35a4 /textproc | |
parent | a8865a8a4262291ba39cb400aad40d3c9552b5a8 (diff) | |
download | pkgsrc-38f2d1f757d4001986acf804a6a1329d313e1333.tar.gz |
Add -lm to LIBS on NetBSD. The library uses modf and this is not available
in libc on all ports (specifically missing from aarch64 9.0) as it is not
built with the compat code.
Bump pkg revision.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/libfastjson/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/textproc/libfastjson/Makefile b/textproc/libfastjson/Makefile index a3bf8bf6f7b..64d5e5f4594 100644 --- a/textproc/libfastjson/Makefile +++ b/textproc/libfastjson/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.9 2020/05/27 19:37:43 wiz Exp $ +# $NetBSD: Makefile,v 1.10 2020/08/02 12:08:35 jmcneill Exp $ DISTNAME= libfastjson-0.99.8 +PKGREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://download.rsyslog.com/libfastjson/ @@ -16,4 +17,11 @@ USE_TOOLS+= pkg-config PKGCONFIG_OVERRIDE+= libfastjson.pc.in +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "NetBSD" +# NetBSD libc without compat modf in libc requires libm +LIBS+= -lm +.endif + .include "../../mk/bsd.pkg.mk" |