Sun Jun 5 14:02:44 2022 UTC ()
graphics/tiff: Require c99

Upstream says C99 is required (during a discussion about README not
specifying prereqs).


(gdt)
diff -r1.153 -r1.154 pkgsrc/graphics/tiff/Makefile

cvs diff -r1.153 -r1.154 pkgsrc/graphics/tiff/Makefile (switch to unified diff)

--- pkgsrc/graphics/tiff/Makefile 2022/05/29 12:24:16 1.153
+++ pkgsrc/graphics/tiff/Makefile 2022/06/05 14:02:44 1.154
@@ -1,51 +1,51 @@ @@ -1,51 +1,51 @@
1# $NetBSD: Makefile,v 1.153 2022/05/29 12:24:16 gdt Exp $ 1# $NetBSD: Makefile,v 1.154 2022/06/05 14:02:44 gdt Exp $
2 2
3VERSION_BASE= 4.4.0 3VERSION_BASE= 4.4.0
4# Accomodate testing unreleased versions. 4# Accomodate testing unreleased versions.
5#VERSION_RC= rc1 5#VERSION_RC= rc1
6DISTNAME= tiff-${VERSION_BASE}${VERSION_RC} 6DISTNAME= tiff-${VERSION_BASE}${VERSION_RC}
7CATEGORIES= graphics 7CATEGORIES= graphics
8MASTER_SITES= https://download.osgeo.org/libtiff/ 8MASTER_SITES= https://download.osgeo.org/libtiff/
9 9
10MAINTAINER= gdt@NetBSD.org 10MAINTAINER= gdt@NetBSD.org
11HOMEPAGE= http://simplesystems.org/libtiff/ 11HOMEPAGE= http://simplesystems.org/libtiff/
12COMMENT= Library and tools for reading and writing TIFF data files 12COMMENT= Library and tools for reading and writing TIFF data files
13LICENSE= mit 13LICENSE= mit
14 14
15WRKSRC= ${WRKDIR}/tiff-${VERSION_BASE} 15WRKSRC= ${WRKDIR}/tiff-${VERSION_BASE}
16 16
17EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} 17EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
18 18
19USE_LANGUAGES= c c++ 19USE_LANGUAGES= c99 c++
20USE_LIBTOOL= yes 20USE_LIBTOOL= yes
21GNU_CONFIGURE= yes 21GNU_CONFIGURE= yes
22CONFIGURE_ARGS+= --enable-rpath 22CONFIGURE_ARGS+= --enable-rpath
23CONFIGURE_ARGS+= --enable-cxx 23CONFIGURE_ARGS+= --enable-cxx
24CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/tiff 24CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/tiff
25CONFIGURE_ARGS+= --without-x # just in case detects gl to build tiffgt 25CONFIGURE_ARGS+= --without-x # just in case detects gl to build tiffgt
26CONFIGURE_ARGS+= --disable-webp 26CONFIGURE_ARGS+= --disable-webp
27 27
28PKGCONFIG_OVERRIDE= libtiff-4.pc.in 28PKGCONFIG_OVERRIDE= libtiff-4.pc.in
29 29
30TEST_TARGET= check 30TEST_TARGET= check
31 31
32post-extract: 32post-extract:
33 cd ${WRKSRC} && \ 33 cd ${WRKSRC} && \
34 ${MV} -f VERSION VERSION.txt 34 ${MV} -f VERSION VERSION.txt
35 35
36post-install: 36post-install:
37 cd ${DESTDIR}/${PREFIX}/${PKGMANDIR}/man3 && for file in *.3tiff; do\ 37 cd ${DESTDIR}/${PREFIX}/${PKGMANDIR}/man3 && for file in *.3tiff; do\
38 target=`${ECHO} $$file | sed "s/3tiff/3/"`; \ 38 target=`${ECHO} $$file | sed "s/3tiff/3/"`; \
39 ${MV} $$file $$target; \ 39 ${MV} $$file $$target; \
40 done 40 done
41 cd ${DESTDIR}/${PREFIX}/share/doc/${PKGBASE} && \ 41 cd ${DESTDIR}/${PREFIX}/share/doc/${PKGBASE} && \
42 ${MV} -f VERSION.txt VERSION 42 ${MV} -f VERSION.txt VERSION
43 43
44.include "options.mk" 44.include "options.mk"
45 45
46.include "../../devel/zlib/buildlink3.mk" 46.include "../../devel/zlib/buildlink3.mk"
47# XXX for liblzma; there are more potential suppliers 47# XXX for liblzma; there are more potential suppliers
48.include "../../archivers/xz/buildlink3.mk" 48.include "../../archivers/xz/buildlink3.mk"
49.include "../../graphics/jbigkit/buildlink3.mk" 49.include "../../graphics/jbigkit/buildlink3.mk"
50.include "../../mk/jpeg.buildlink3.mk" 50.include "../../mk/jpeg.buildlink3.mk"
51.include "../../mk/bsd.pkg.mk" 51.include "../../mk/bsd.pkg.mk"