pkgsrc-WIP-changes archive

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

libnest2d-ultimaker: build cmake > 3.5



Module Name:	pkgsrc-wip
Committed By:	Atsushi Toyokura <asteria.at%gmail.com@localhost>
Pushed By:	steleto
Date:		Thu Jan 1 18:57:32 2026 +0900
Changeset:	d73b3826413240572105c09bbf16da6f3b047762

Modified Files:
	libnest2d-ultimaker/Makefile

Log Message:
libnest2d-ultimaker: build cmake > 3.5

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

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

diffstat:
 libnest2d-ultimaker/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diffs:
diff --git a/libnest2d-ultimaker/Makefile b/libnest2d-ultimaker/Makefile
index c5a2b8de34..2b1dc9528d 100644
--- a/libnest2d-ultimaker/Makefile
+++ b/libnest2d-ultimaker/Makefile
@@ -13,9 +13,10 @@ HOMEPAGE=	https://github.com/Ultimaker/libnest2d/
 COMMENT=	2D irregular bin packaging and nesting library written in modern C++
 LICENSE=	gnu-lgpl-v3
 
-USE_CMAKE=	yes
 USE_LANGUAGES=	c c++
 
+CMAKE_CONFIGURE_ARGS+=	-DCMAKE_POLICY_VERSION_MINIMUM=3.5
+
 SUBST_CLASSES+=			fix-paths
 SUBST_STAGE.fix-paths=		pre-configure
 SUBST_MESSAGE.fix-paths=	Fixing absolute paths.
@@ -24,6 +25,7 @@ SUBST_FILES.fix-paths+=		cmake_modules/FindNLopt.cmake
 SUBST_SED.fix-paths=		-e "s,@prefix@,${PREFIX},g"
 
 .include "../../devel/boost-headers/buildlink3.mk"
+.include "../../devel/cmake/build.mk"
 .include "../../wip/nlopt/buildlink3.mk"
 .include "../../wip/polyclipping/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index