pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/i3lock



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Oct 10 16:56:14 UTC 2024

Modified Files:
        pkgsrc/x11/i3lock: Makefile

Log Message:
i3lock: try to fix build on SunOS

while here, note that this package requires c11 now


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/x11/i3lock/Makefile

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

Modified files:

Index: pkgsrc/x11/i3lock/Makefile
diff -u pkgsrc/x11/i3lock/Makefile:1.15 pkgsrc/x11/i3lock/Makefile:1.16
--- pkgsrc/x11/i3lock/Makefile:1.15     Sun Apr  7 07:35:21 2024
+++ pkgsrc/x11/i3lock/Makefile  Thu Oct 10 16:56:14 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2024/04/07 07:35:21 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2024/10/10 16:56:14 nia Exp $
 
 DISTNAME=      i3lock-2.15
 PKGREVISION=   2
@@ -12,12 +12,13 @@ COMMENT=    Slightly improved screen locker
 LICENSE=       modified-bsd
 
 USE_TOOLS+=    pkg-config
-USE_LANGUAGES= c
-FORCE_C_STD=   c99
+
+USE_CC_FEATURES+=      c11
 
 INSTALLATION_DIRS+=    share/examples/i3lock/pam.d
 
-CPPFLAGS.SunOS+=       -Du_int32_t=uint32_t
+CFLAGS.SunOS+= -Du_int32_t=uint32_t
+CFLAGS.SunOS+= -D__EXTENSIONS__
 
 BUILD_DEFS+=   SYSCONFBASE
 



Home | Main Index | Thread Index | Old Index