Sat Dec 17 14:23:55 2016 UTC ()
Deal with Jasper's dependency on the limit macros.


(joerg)
diff -r1.24 -r1.25 pkgsrc/graphics/libraw/Makefile

cvs diff -r1.24 -r1.25 pkgsrc/graphics/libraw/Makefile (expand / switch to unified diff)

--- pkgsrc/graphics/libraw/Makefile 2016/06/19 05:04:57 1.24
+++ pkgsrc/graphics/libraw/Makefile 2016/12/17 14:23:55 1.25
@@ -1,27 +1,30 @@ @@ -1,27 +1,30 @@
1# $NetBSD: Makefile,v 1.24 2016/06/19 05:04:57 markd Exp $ 1# $NetBSD: Makefile,v 1.25 2016/12/17 14:23:55 joerg Exp $
2 2
3DISTNAME= LibRaw-0.17.2 3DISTNAME= LibRaw-0.17.2
4PKGNAME= ${DISTNAME:tl} 4PKGNAME= ${DISTNAME:tl}
5CATEGORIES= graphics 5CATEGORIES= graphics
6MASTER_SITES= http://www.libraw.org/data/ 6MASTER_SITES= http://www.libraw.org/data/
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://www.libraw.org/ 9HOMEPAGE= http://www.libraw.org/
10COMMENT= Raw decoding/processing library 10COMMENT= Raw decoding/processing library
11LICENSE= gnu-lgpl-v2.1 OR cddl-1.0 11LICENSE= gnu-lgpl-v2.1 OR cddl-1.0
12 12
13USE_LANGUAGES= c c++ 13USE_LANGUAGES= c c++
14USE_LIBTOOL= yes 14USE_LIBTOOL= yes
15USE_TOOLS+= pkg-config gmake 15USE_TOOLS+= pkg-config gmake
16GNU_CONFIGURE= yes 16GNU_CONFIGURE= yes
17CONFIGURE_ARGS+= --disable-examples 17CONFIGURE_ARGS+= --disable-examples
18CONFIGURE_ARGS+= --disable-demosaic-pack-gpl2 18CONFIGURE_ARGS+= --disable-demosaic-pack-gpl2
19CONFIGURE_ARGS+= --disable-demosaic-pack-gpl3 19CONFIGURE_ARGS+= --disable-demosaic-pack-gpl3
20 20
21PKGCONFIG_OVERRIDE+= libraw.pc.in 21PKGCONFIG_OVERRIDE+= libraw.pc.in
22PKGCONFIG_OVERRIDE+= libraw_r.pc.in 22PKGCONFIG_OVERRIDE+= libraw_r.pc.in
23 23
 24# jasper uses SIZE_MAX and friends in its headers.
 25CPPFLAGS+= -D__STDC_LIMIT_MACROS
 26
24.include "../../graphics/jasper/buildlink3.mk" 27.include "../../graphics/jasper/buildlink3.mk"
25.include "../../graphics/lcms2/buildlink3.mk" 28.include "../../graphics/lcms2/buildlink3.mk"
26.include "../../mk/jpeg.buildlink3.mk" 29.include "../../mk/jpeg.buildlink3.mk"
27.include "../../mk/bsd.pkg.mk" 30.include "../../mk/bsd.pkg.mk"