pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/libinotify



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Mon Jun 17 16:43:16 UTC 2024

Modified Files:
        pkgsrc/devel/libinotify: Makefile

Log Message:
libinotify: Limit flag to newer clang versions.

Fixes build with clang 13.  At some point we really need a better abstraction
for this in mk/compiler.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/libinotify/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/libinotify/Makefile
diff -u pkgsrc/devel/libinotify/Makefile:1.11 pkgsrc/devel/libinotify/Makefile:1.12
--- pkgsrc/devel/libinotify/Makefile:1.11       Mon Sep 11 07:52:43 2023
+++ pkgsrc/devel/libinotify/Makefile    Mon Jun 17 16:43:15 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2023/09/11 07:52:43 triaxx Exp $
+# $NetBSD: Makefile,v 1.12 2024/06/17 16:43:15 jperkin Exp $
 
 DISTNAME=      libinotify
 PKGNAME=       ${DISTNAME}-0.0.${GITHUB_TAG}
@@ -18,8 +18,12 @@ USE_LIBTOOL= yes
 USE_LANGUAGES= c c++17
 USE_TOOLS+=    autoconf automake autoreconf
 
+.include "../../mk/compiler.mk"
+
 # Avoid error due to use of ATOMIC_VAR_INIT.
+.if ${CC_VERSION:Mclang-1[5-9].*}
 CFLAGS+=       -Wno-deprecated-pragma
+.endif
 
 TEST_TARGET=   test
 



Home | Main Index | Thread Index | Old Index