pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/picom picom: Use OPSYS_VERSION



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aec79edf1c4a
branches:  trunk
changeset: 379852:aec79edf1c4a
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue May 24 09:53:51 2022 +0000

description:
picom: Use OPSYS_VERSION

diffstat:

 x11/picom/hacks.mk |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 68c0e3da0cb4 -r aec79edf1c4a x11/picom/hacks.mk
--- a/x11/picom/hacks.mk        Tue May 24 09:53:02 2022 +0000
+++ b/x11/picom/hacks.mk        Tue May 24 09:53:51 2022 +0000
@@ -6,7 +6,7 @@
 ### defined by *libc* which doesn't support C11 threads... What? Then
 ### what about libc which doesn't even know what C11 threads are?
 ###
-.if !empty(MACHINE_PLATFORM:MNetBSD-[0-8].*-*)
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 090000
 PKG_HACKS+=    c11-no-threads
 CPPFLAGS+=     -D__STDC_NO_THREADS__
 .endif



Home | Main Index | Thread Index | Old Index