pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/libclucene



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Aug 11 08:35:28 UTC 2025

Modified Files:
        pkgsrc/textproc/libclucene: Makefile

Log Message:
libclucene: fix build with cmake 4


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 pkgsrc/textproc/libclucene/Makefile

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

Modified files:

Index: pkgsrc/textproc/libclucene/Makefile
diff -u pkgsrc/textproc/libclucene/Makefile:1.41 pkgsrc/textproc/libclucene/Makefile:1.42
--- pkgsrc/textproc/libclucene/Makefile:1.41    Sun Dec 29 15:09:59 2024
+++ pkgsrc/textproc/libclucene/Makefile Mon Aug 11 08:35:28 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2024/12/29 15:09:59 adam Exp $
+# $NetBSD: Makefile,v 1.42 2025/08/11 08:35:28 wiz Exp $
 
 DISTNAME=              clucene-core-2.3.3.4
 PKGNAME=               lib${DISTNAME:S/-core-/-/}
@@ -14,9 +14,11 @@ LICENSE=             gnu-lgpl-v2.1 OR apache-2.0
 PKGCONFIG_OVERRIDE+=   libclucene-core.pc.in
 
 USE_LANGUAGES= c c++
-CMAKE_CONFIGURE_ARGS+= -DBUILD_CONTRIBS_LIB=ON
 USE_LIBTOOL=   yes
 
+CMAKE_CONFIGURE_ARGS+= -DBUILD_CONTRIBS_LIB=ON
+CMAKE_CONFIGURE_ARGS+= -DCMAKE_POLICY_VERSION_MINIMUM=3.5
+
 .include "../../devel/cmake/build.mk"
 .include "../../devel/boost-libs/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"



Home | Main Index | Thread Index | Old Index