pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/libfastjson
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.
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"
Home |
Main Index |
Thread Index |
Old Index