pkgsrc-WIP-changes archive

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

polyclipping: 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:56:33 2026 +0900
Changeset:	c9182c7a9fe7e5b01bf8e91f9f6aaaea47e9c74d

Modified Files:
	polyclipping/Makefile

Log Message:
polyclipping: 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=c9182c7a9fe7e5b01bf8e91f9f6aaaea47e9c74d

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

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

diffs:
diff --git a/polyclipping/Makefile b/polyclipping/Makefile
index edc9fc2dd9..26b3ccb477 100644
--- a/polyclipping/Makefile
+++ b/polyclipping/Makefile
@@ -13,8 +13,10 @@ COMMENT=	Polygon and line clipping and offsetting library
 LICENSE=	boost-license
 
 USE_LANGUAGES=	c c++
-USE_CMAKE=	yes
+
+CMAKE_CONFIGURE_ARGS+=	-DCMAKE_POLICY_VERSION_MINIMUM=3.5
 
 WRKSRC=		${WRKDIR}/cpp
 
+.include "../../devel/cmake/build.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index