pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/libdecaf



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Aug 20 07:09:13 UTC 2025

Modified Files:
        pkgsrc/security/libdecaf: Makefile

Log Message:
libdecaf: fix build with cmake 4

Convert to cmake/build.mk, fix pkglint.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/security/libdecaf/Makefile

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

Modified files:

Index: pkgsrc/security/libdecaf/Makefile
diff -u pkgsrc/security/libdecaf/Makefile:1.7 pkgsrc/security/libdecaf/Makefile:1.8
--- pkgsrc/security/libdecaf/Makefile:1.7       Sun Aug 25 06:19:12 2024
+++ pkgsrc/security/libdecaf/Makefile   Wed Aug 20 07:09:13 2025
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.7 2024/08/25 06:19:12 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2025/08/20 07:09:13 wiz Exp $
 
 PKGNAME=       libdecaf-1.0.2
 PKGREVISION=   1
 DISTNAME=      ed448goldilocks-code-da2f2f9b2ab1bce9a2bb77e4f37037ee135fdd72
 CATEGORIES=    security
-MASTER_SITES=   https://sourceforge.net/code-snapshots/git/e/ed/ed448goldilocks/code.git/
+MASTER_SITES=  https://sourceforge.net/code-snapshots/git/e/ed/ed448goldilocks/code.git/
 EXTRACT_SUFX=  .zip
 
 MAINTAINER=    fox%NetBSD.org@localhost
@@ -12,9 +12,13 @@ HOMEPAGE=    http://ed448goldilocks.sourcef
 COMMENT=       Implementation of Ed448-Goldilocks elliptic curve for cryptography
 LICENSE=       mit
 
-USE_CMAKE=     yes
-USE_LANGUAGES= c99 c++11
+USE_LANGUAGES=         c c++
+USE_CC_FEATURES=       c99
+USE_CXX_FEATURES=      c++11
 CMAKE_CONFIGURE_ARGS+= -DENABLE_TESTS=YES
+CMAKE_CONFIGURE_ARGS+= -DCMAKE_POLICY_VERSION_MINIMUM=3.5
+
+BUILDLINK_TRANSFORM+=  rm:-Werror
 
 # These are required to prevent build breakage when tests are enabled
 # This is probably due to the auto-generated headers clobbering with
@@ -31,5 +35,6 @@ TEST_TARGET=  test
 post-install:
        ${CHMOD} -x ${DESTDIR}${PREFIX}/lib/libdecaf.a
 
+.include "../../devel/cmake/build.mk"
 .include "../../lang/python/pyversion.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index