pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/ucommon
Module Name: pkgsrc
Committed By: wiz
Date: Sun Aug 17 12:19:20 UTC 2025
Modified Files:
pkgsrc/devel/ucommon: Makefile
Log Message:
ucommon: fix build with cmake 4
While here, force building with C++11 since this breaks with C++17.
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/devel/ucommon/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/ucommon/Makefile
diff -u pkgsrc/devel/ucommon/Makefile:1.34 pkgsrc/devel/ucommon/Makefile:1.35
--- pkgsrc/devel/ucommon/Makefile:1.34 Thu Apr 17 21:50:33 2025
+++ pkgsrc/devel/ucommon/Makefile Sun Aug 17 12:19:20 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2025/04/17 21:50:33 wiz Exp $
+# $NetBSD: Makefile,v 1.35 2025/08/17 12:19:20 wiz Exp $
DISTNAME= ucommon-7.0.0
PKGREVISION= 18
@@ -14,8 +14,13 @@ USE_CMAKE= yes
USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config
+# does not support c++17, so force c++11
+USE_CXX_FEATURES= c++11
+FORCE_CXX_STD= c++11
+
# Incompatible with OpenSSL 1.1
CMAKE_CONFIGURE_ARGS+= -DCRYPTO_OPENSSL=OFF
+CMAKE_CONFIGURE_ARGS+= -DCMAKE_POLICY_VERSION_MINIMUM=3.5
PKGCONFIG_OVERRIDE+= commoncpp.pc.in
PKGCONFIG_OVERRIDE+= ucommon.pc.in
Home |
Main Index |
Thread Index |
Old Index