pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/libcbor devel/libcbor: ldexp requires -lm.
details: https://anonhg.NetBSD.org/pkgsrc/rev/f72bf387d3f4
branches: trunk
changeset: 442494:f72bf387d3f4
user: riastradh <riastradh%pkgsrc.org@localhost>
date: Wed Nov 25 05:54:45 2020 +0000
description:
devel/libcbor: ldexp requires -lm.
This mechanism is a kludge -- I would like to just say
LIBS+= -lm
but that doesn't work with cmake. Feel free to replace this by a
better mechanism for cmake!
diffstat:
devel/libcbor/Makefile | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 5e9570d82150 -r f72bf387d3f4 devel/libcbor/Makefile
--- a/devel/libcbor/Makefile Wed Nov 25 01:05:00 2020 +0000
+++ b/devel/libcbor/Makefile Wed Nov 25 05:54:45 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2020/10/22 20:19:39 tnn Exp $
+# $NetBSD: Makefile,v 1.4 2020/11/25 05:54:45 riastradh Exp $
DISTNAME= libcbor-0.8.0
CATEGORIES= devel
@@ -14,6 +14,7 @@
USE_CMAKE= yes
USE_TOOLS+= pkg-config
CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON
+CMAKE_ARGS+= -DCMAKE_C_STANDARD_LIBRARIES="-lm" # ldexp
CHECK_PORTABILITY_SKIP+= misc/hooks/*
Home |
Main Index |
Thread Index |
Old Index