pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/libcbor
Module Name: pkgsrc
Committed By: riastradh
Date: Wed Nov 25 05:54:45 UTC 2020
Modified Files:
pkgsrc/devel/libcbor: Makefile
Log Message:
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!
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/libcbor/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/libcbor/Makefile
diff -u pkgsrc/devel/libcbor/Makefile:1.3 pkgsrc/devel/libcbor/Makefile:1.4
--- pkgsrc/devel/libcbor/Makefile:1.3 Thu Oct 22 20:19:39 2020
+++ pkgsrc/devel/libcbor/Makefile Wed Nov 25 05:54:45 2020
@@ -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_LANGUAGES+= c c++
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