Received: by mail.netbsd.org (Postfix, from userid 605) id A794984D58; Sun, 2 Aug 2020 12:08:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 2ED6884CDA for ; Sun, 2 Aug 2020 12:08:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 9qCVv4yUSgkv for ; Sun, 2 Aug 2020 12:08:35 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 84F9484CE1 for ; Sun, 2 Aug 2020 12:08:35 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 818E6FB28; Sun, 2 Aug 2020 12:08:35 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1596370115256480" MIME-Version: 1.0 Date: Sun, 2 Aug 2020 12:08:35 +0000 From: "Jared D. McNeill" Subject: CVS commit: pkgsrc/textproc/libfastjson To: pkgsrc-changes@NetBSD.org Reply-To: jmcneill@netbsd.org X-Mailer: log_accum Message-Id: <20200802120835.818E6FB28@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1596370115256480 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: jmcneill Date: Sun Aug 2 12:08:35 UTC 2020 Modified Files: pkgsrc/textproc/libfastjson: Makefile Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 pkgsrc/textproc/libfastjson/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1596370115256480 Content-Disposition: inline Content-Length: 813 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/textproc/libfastjson/Makefile diff -u pkgsrc/textproc/libfastjson/Makefile:1.9 pkgsrc/textproc/libfastjson/Makefile:1.10 --- pkgsrc/textproc/libfastjson/Makefile:1.9 Wed May 27 19:37:43 2020 +++ pkgsrc/textproc/libfastjson/Makefile Sun Aug 2 12:08:35 2020 @@ -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" --_----------=_1596370115256480--