pkgsrc/graphics/libraw/Makefile
rillig 4f4f64fdce mark packages that fail with -Werror=char-subscripts
These packages are susceptible to bugs when confronted with non-ASCII
characters.

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94182.

It takes some time to analyze and fix these individually, therefore they
are only marked as "needs work".
2020-05-20 06:09:03 +00:00

31 lines
957 B
Makefile

# $NetBSD: Makefile,v 1.34 2020/05/20 06:09:06 rillig Exp $
DISTNAME= LibRaw-0.19.5
PKGNAME= ${DISTNAME:tl}
CATEGORIES= graphics
MASTER_SITES= https://www.libraw.org/data/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.libraw.org/
COMMENT= Raw decoding/processing library
LICENSE= gnu-lgpl-v2.1 OR cddl-1.0
USE_LANGUAGES= c c++03
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-examples
PKGCONFIG_OVERRIDE+= libraw.pc.in
PKGCONFIG_OVERRIDE+= libraw_r.pc.in
# internal/dcraw_common.cpp: In member function 'void LibRaw::xtrans_interpolate(int)':
# internal/dcraw_common.cpp:5885:27: error: array subscript has type 'char' [-Werror=char-subscripts]
# cstat[fcol(row, col)]++;
# Maybe fix this later.
BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts
.include "options.mk"
.include "../../graphics/lcms2/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"