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:   adam
Date:           Wed Jul 14 17:24:54 UTC 2021

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

Log Message:
libheif: fix building with Clang


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/graphics/libheif/Makefile
cvs rdiff -u -r1.2 -r1.3 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/Makefile
diff -u pkgsrc/graphics/libheif/Makefile:1.11 pkgsrc/graphics/libheif/Makefile:1.12
--- pkgsrc/graphics/libheif/Makefile:1.11       Thu May 20 08:21:21 2021
+++ pkgsrc/graphics/libheif/Makefile    Wed Jul 14 17:24:54 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2021/05/20 08:21:21 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2021/07/14 17:24:54 adam Exp $
 
 DISTNAME=      libheif-1.12.0
 CATEGORIES=    graphics
@@ -18,13 +18,16 @@ USE_LANGUAGES=      c c++
 
 CONFIGURE_ARGS+=       --disable-go
 
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mgcc)
 CXXFLAGS.NetBSD+=      -Wno-error=maybe-uninitialized
+.endif
 
 PKGCONFIG_OVERRIDE+=   libheif.pc.in
 
-.include "../../mk/jpeg.buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
 .include "../../multimedia/libaom/buildlink3.mk"
 .include "../../multimedia/libde265/buildlink3.mk"
 .include "../../multimedia/x265/buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/graphics/libheif/buildlink3.mk
diff -u pkgsrc/graphics/libheif/buildlink3.mk:1.2 pkgsrc/graphics/libheif/buildlink3.mk:1.3
--- pkgsrc/graphics/libheif/buildlink3.mk:1.2   Mon Apr 12 08:29:59 2021
+++ pkgsrc/graphics/libheif/buildlink3.mk       Wed Jul 14 17:24:54 2021
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2021/04/12 08:29:59 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2021/07/14 17:24:54 adam Exp $
 
 BUILDLINK_TREE+=       libheif
 
@@ -6,7 +6,7 @@ BUILDLINK_TREE+=        libheif
 LIBHEIF_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.libheif+=        libheif>=1.8.0
-BUILDLINK_ABI_DEPENDS.libheif?=        libheif>=1.11.0nb1
+BUILDLINK_ABI_DEPENDS.libheif+=        libheif>=1.11.0nb1
 BUILDLINK_PKGSRCDIR.libheif?=  ../../graphics/libheif
 
 .include "../../graphics/png/buildlink3.mk"



Home | Main Index | Thread Index | Old Index