pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/libheif



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Apr  2 13:06:29 UTC 2025

Modified Files:
        pkgsrc/graphics/libheif: buildlink3.mk

Log Message:
libheif: Use an older version on systems without C++20 (most systems).


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/graphics/libheif/buildlink3.mk

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

Modified files:

Index: pkgsrc/graphics/libheif/buildlink3.mk
diff -u pkgsrc/graphics/libheif/buildlink3.mk:1.12 pkgsrc/graphics/libheif/buildlink3.mk:1.13
--- pkgsrc/graphics/libheif/buildlink3.mk:1.12  Tue Mar 11 12:37:03 2025
+++ pkgsrc/graphics/libheif/buildlink3.mk       Wed Apr  2 13:06:29 2025
@@ -1,7 +1,15 @@
-# $NetBSD: buildlink3.mk,v 1.12 2025/03/11 12:37:03 nia Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2025/04/02 13:06:29 nia Exp $
 
 BUILDLINK_TREE+=       libheif
 
+.include "../../mk/compiler.mk"
+
+.if ${CC_VERSION:Mgcc-[3456789].*} || \
+    ${CC_VERSION:Mgcc-10.*} || ${CC_VERSION:Mgcc-11.*}
+# this defines LIBHEIF_BUILDLINK3_MK so the next sections aren't used
+.  include "../../graphics/libheif-cxx11/buildlink3.mk"
+.endif
+
 .if !defined(LIBHEIF_BUILDLINK3_MK)
 LIBHEIF_BUILDLINK3_MK:=
 



Home | Main Index | Thread Index | Old Index