pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/fann



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

Modified Files:
        pkgsrc/devel/fann: Makefile

Log Message:
fann: fix build with cmake 4

Fix pkglint while here


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/fann/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/fann/Makefile
diff -u pkgsrc/devel/fann/Makefile:1.12 pkgsrc/devel/fann/Makefile:1.13
--- pkgsrc/devel/fann/Makefile:1.12     Tue Jan 24 18:36:22 2023
+++ pkgsrc/devel/fann/Makefile  Mon Aug 11 08:51:35 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2023/01/24 18:36:22 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2025/08/11 08:51:35 wiz Exp $
 
 PKGREVISION=           2
 
@@ -10,11 +10,15 @@ LICENSE=            gnu-lgpl-v2.1
 
 USE_TOOLS+=            cmake
 
-USE_LANGUAGES+=        c99
+USE_LANGUAGES+=        c
 # Perhaps not, but cmake complains
 USE_LANGUAGES+=        c++
 
+USE_CC_FEATURES+=      c99
+
 PKGCONFIG_OVERRIDE+=   cmake/fann.pc.cmake
 
+CMAKE_CONFIGURE_ARGS+= -DCMAKE_POLICY_VERSION_MINIMUM=3.5
+
 .include "../../devel/cmake/build.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index