pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/hdf5-c++



Module Name:    pkgsrc
Committed By:   gdt
Date:           Wed Mar  5 17:28:32 UTC 2025

Modified Files:
        pkgsrc/devel/hdf5-c++: Makefile

Log Message:
devel/hdf5-c++: Force CMAKE_GENERATOR to make

This fails with ninja, because build.ninja exists only at top level
and the package sets BUILD_DIRS.  (Arguably, BUILD_DIRS=foo is only
compatible with generators that have control files in foo and descend
into it, vs generators that have everything at top level.)


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/hdf5-c++/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/hdf5-c++/Makefile
diff -u pkgsrc/devel/hdf5-c++/Makefile:1.10 pkgsrc/devel/hdf5-c++/Makefile:1.11
--- pkgsrc/devel/hdf5-c++/Makefile:1.10 Wed Mar  5 06:24:20 2025
+++ pkgsrc/devel/hdf5-c++/Makefile      Wed Mar  5 17:28:32 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2025/03/05 06:24:20 adam Exp $
+# $NetBSD: Makefile,v 1.11 2025/03/05 17:28:32 gdt Exp $
 
 PKGNAME=       ${DISTNAME:S/-/-c++-/}
 COMMENT=       Hierarchical Data Format (new generation) - C++ wrappers
@@ -7,7 +7,10 @@ WRKSRC=                ${WRKDIR}/hdf5-${DISTNAME:S/-/_
 BUILD_DIRS+=   c++
 
 USE_LANGUAGES=         c c++
+
 CMAKE_CONFIGURE_ARGS+= -DHDF5_BUILD_CPP_LIB=ON
+# BUILD_DIRS (at least for hdf5) is not compatible with ninja
+CMAKE_GENERATOR=       make
 
 .include "../../devel/hdf5/Makefile.common"
 .include "../../devel/hdf5/buildlink3.mk"



Home | Main Index | Thread Index | Old Index