pkgsrc/textproc/libfastjson/Makefile
jmcneill 3af10fa841 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.
2020-08-02 12:08:35 +00:00

27 lines
604 B
Makefile

# $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/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/rsyslog/libfastjson/
COMMENT= Fast json library for C
LICENSE= mit
GNU_CONFIGURE= yes
USE_LANGUAGES= c c99
USE_LIBTOOL= yes
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"