Wed Jul 19 15:20:48 2023 UTC ()
liburing: Require a c11 compiler for stdatomic.


(nia)
diff -r1.1 -r1.2 pkgsrc/devel/liburing/Makefile

cvs diff -r1.1 -r1.2 pkgsrc/devel/liburing/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/liburing/Makefile 2023/04/17 21:32:54 1.1
+++ pkgsrc/devel/liburing/Makefile 2023/07/19 15:20:48 1.2
@@ -1,26 +1,30 @@ @@ -1,26 +1,30 @@
1# $NetBSD: Makefile,v 1.1 2023/04/17 21:32:54 gutteridge Exp $ 1# $NetBSD: Makefile,v 1.2 2023/07/19 15:20:48 nia Exp $
2 2
3DISTNAME= liburing-2.3 3DISTNAME= liburing-2.3
4CATEGORIES= devel 4CATEGORIES= devel
5MASTER_SITES= https://git.kernel.dk/cgit/liburing/snapshot/ 5MASTER_SITES= https://git.kernel.dk/cgit/liburing/snapshot/
6 6
7MAINTAINER= als@thangorodrim.ch 7MAINTAINER= als@thangorodrim.ch
8HOMEPAGE= https://git.kernel.dk/cgit/liburing/ 8HOMEPAGE= https://git.kernel.dk/cgit/liburing/
9COMMENT= Library for the Linux kernel io_uring interface 9COMMENT= Library for the Linux kernel io_uring interface
10LICENSE= gnu-gpl-v2 10LICENSE= gnu-gpl-v2
11 11
12# The ./configure in the source is a handcrafted piece of shell 12# The ./configure in the source is a handcrafted piece of shell
13HAS_CONFIGURE= YES 13HAS_CONFIGURE= YES
14 14
15USE_TOOLS+= gmake 15USE_TOOLS+= gmake
 16
16USE_LANGUAGES= c c++ 17USE_LANGUAGES= c c++
17 18
 19# Uses stdatomic.
 20USE_CC_FEATURES+= c11
 21
18PKGCONFIG_OVERRIDE+= liburing.pc.in 22PKGCONFIG_OVERRIDE+= liburing.pc.in
19 23
20# Provides access to the Linux kernel io_uring interface 24# Provides access to the Linux kernel io_uring interface
21ONLY_FOR_PLATFORM= Linux-*-* 25ONLY_FOR_PLATFORM= Linux-*-*
22 26
23do-build: 27do-build:
24 ${RUN} cd ${WRKSRC}/ && ./configure --prefix=${PREFIX} && ${GMAKE} 28 ${RUN} cd ${WRKSRC}/ && ./configure --prefix=${PREFIX} && ${GMAKE}
25 29
26.include "../../mk/bsd.pkg.mk" 30.include "../../mk/bsd.pkg.mk"