pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/chat/libmsn
Module Name: pkgsrc
Committed By: nros
Date: Fri Nov 3 10:15:48 UTC 2023
Modified Files:
pkgsrc/chat/libmsn: Makefile
Log Message:
libmsn: convert to cmake/build.mk, use cmake args to set c++ standard
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/chat/libmsn/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/chat/libmsn/Makefile
diff -u pkgsrc/chat/libmsn/Makefile:1.14 pkgsrc/chat/libmsn/Makefile:1.15
--- pkgsrc/chat/libmsn/Makefile:1.14 Tue Oct 24 22:08:21 2023
+++ pkgsrc/chat/libmsn/Makefile Fri Nov 3 10:15:47 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2023/10/24 22:08:21 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2023/11/03 10:15:47 nros Exp $
DISTNAME= libmsn-4.2.1
PKGREVISION= 5
@@ -11,12 +11,17 @@ HOMEPAGE= https://sourceforge.net/projec
COMMENT= Library for connecting to Microsoft's MSN Messenger service
LICENSE= gnu-gpl-v2
-USE_CMAKE= yes
-USE_LANGUAGES= c c++03
+USE_LANGUAGES= c c++
+
+# fix build with compilers that default to c++ 17 and above
+CMAKE_CONFIGURE_ARGS+= -DCMAKE_CXX_STANDARD=98
+CMAKE_CONFIGURE_ARGS+= -DCMAKE_CXX_STANDARD_REQUIRED:BOOL=ON
PKGCONFIG_OVERRIDE+= libmsn.pc.cmake
LDFLAGS.SunOS+= -lsocket -lnsl
+.include "../../devel/cmake/build.mk"
+
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index