pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libyang: make cmocka a tool dependency



Module Name:	pkgsrc-wip
Committed By:	Frank Kardel <kardel%NetBSD.org@localhost>
Pushed By:	kardel
Date:		Wed Oct 28 13:15:29 2020 +0100
Changeset:	66d28ae62f00b58fc15d256fee7cf21a80076eca

Modified Files:
	libyang/Makefile

Log Message:
libyang: make cmocka a tool dependency

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=66d28ae62f00b58fc15d256fee7cf21a80076eca

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libyang/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diffs:
diff --git a/libyang/Makefile b/libyang/Makefile
index 533c8e6544..8ed0cb7531 100644
--- a/libyang/Makefile
+++ b/libyang/Makefile
@@ -18,6 +18,8 @@ USE_CMAKE=	yes
 USE_TOOLS+=	pkg-config
 USE_LANGUAGES=	c c++
 
+TOOL_DEPENDS+=	cmocka>=1.1.5:../../devel/cmocka
+
 PKGCONFIG_OVERRIDE+=	libyang.pc.in
 PKGCONFIG_OVERRIDE+=	swig/libyang-cpp.pc.in
 
@@ -33,6 +35,5 @@ CMAKE_ARGS?=	-DCMAKE_BUILD_TYPE:String="Release"
 CMAKE_ARGS+=	-DENABLE_LYD_PRIV=ON
 
 .include "../../devel/pcre/buildlink3.mk"
-.include "../../devel/cmocka/buildlink3.mk"
 
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index