| @@ -1,55 +1,54 @@ | | | @@ -1,55 +1,54 @@ |
1 | # $NetBSD: Makefile,v 1.141 2021/09/29 19:00:07 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.142 2021/10/21 00:28:05 gdt Exp $ |
2 | | | 2 | |
3 | PKGREVISION= 1 | | | |
4 | .include "../../geography/gdal-lib/Makefile.common" | | 3 | .include "../../geography/gdal-lib/Makefile.common" |
5 | PKGNAME= ${DISTNAME:S/gdal/gdal-lib/} | | 4 | PKGNAME= ${DISTNAME:S/gdal/gdal-lib/} |
6 | #PKGREVISION= 0 | | 5 | PKGREVISION= 2 |
7 | | | 6 | |
8 | COMMENT= Translator library for raster geospatial data formats | | 7 | COMMENT= Translator library for raster geospatial data formats |
9 | | | 8 | |
10 | USE_LANGUAGES+= c99 c++11 | | 9 | USE_LANGUAGES+= c99 c++11 |
11 | | | 10 | |
12 | # This package intends to link against only libgeos_c, but ends up | | 11 | # This package intends to link against only libgeos_c, but ends up |
13 | # also linking to the C++ library libgeos, apparently because of a | | 12 | # also linking to the C++ library libgeos, apparently because of a |
14 | # libtool problem. | | 13 | # libtool problem. |
15 | # Therefore this package needs revbumping on every geos update. | | 14 | # Therefore this package needs revbumping on every geos update. |
16 | | | 15 | |
17 | CONFIGURE_ARGS+= --without-python | | 16 | CONFIGURE_ARGS+= --without-python |
18 | | | 17 | |
19 | CONFIGURE_ARGS+= --with-proj | | 18 | CONFIGURE_ARGS+= --with-proj |
20 | CONFIGURE_ARGS+= --with-sqlite3=${BUILDLINK_PREFIX.sqlite3} | | 19 | CONFIGURE_ARGS+= --with-sqlite3=${BUILDLINK_PREFIX.sqlite3} |
21 | | | 20 | |
22 | MAKE_FILE= GNUmakefile | | 21 | MAKE_FILE= GNUmakefile |
23 | | | 22 | |
24 | .include "options.mk" | | 23 | .include "options.mk" |
25 | | | 24 | |
26 | CHECK_PORTABILITY_SKIP+= mkbindist.sh | | 25 | CHECK_PORTABILITY_SKIP+= mkbindist.sh |
27 | | | 26 | |
28 | INSTALLATION_DIRS= bin include lib ${PKGMANDIR}/man1 share/gdal | | 27 | INSTALLATION_DIRS= bin include lib ${PKGMANDIR}/man1 share/gdal |
29 | | | 28 | |
30 | # jasper uses SIZE_MAX and friends in its headers. | | 29 | # jasper uses SIZE_MAX and friends in its headers. |
31 | CPPFLAGS+= -D__STDC_LIMIT_MACROS | | 30 | CPPFLAGS+= -D__STDC_LIMIT_MACROS |
32 | | | 31 | |
33 | # \todo: Support geopdf by including poppler, PoDoFo, or PDFium. | | 32 | # \todo: Support geopdf by including poppler, PoDoFo, or PDFium. |
34 | # https://gdal.org/drivers/raster/pdf.html | | 33 | # https://gdal.org/drivers/raster/pdf.html |
35 | | | 34 | |
36 | # Avoid NetBSD base sqlite3, which is deficient because it lacks rtree. | | 35 | # Avoid NetBSD base sqlite3, which is deficient because it lacks rtree. |
37 | # \todo Enhance pkgsrc to be able to declare that modules are needed. | | 36 | # \todo Enhance pkgsrc to be able to declare that modules are needed. |
38 | #BUILDLINK_API_DEPENDS.sqlite3+= sqlite3>=3.36.0 | | 37 | #BUILDLINK_API_DEPENDS.sqlite3+= sqlite3>=3.36.0 |
39 | .include "../../databases/sqlite3/buildlink3.mk" | | 38 | .include "../../databases/sqlite3/buildlink3.mk" |
40 | .include "../../devel/netcdf/buildlink3.mk" | | 39 | .include "../../devel/netcdf/buildlink3.mk" |
41 | .include "../../devel/pcre/buildlink3.mk" | | 40 | .include "../../devel/pcre/buildlink3.mk" |
42 | .include "../../devel/zlib/buildlink3.mk" | | 41 | .include "../../devel/zlib/buildlink3.mk" |
43 | .include "../../geography/geos/buildlink3.mk" | | 42 | .include "../../geography/geos/buildlink3.mk" |
44 | .include "../../geography/proj/buildlink3.mk" | | 43 | .include "../../geography/proj/buildlink3.mk" |
45 | .include "../../geography/libgeotiff/buildlink3.mk" | | 44 | .include "../../geography/libgeotiff/buildlink3.mk" |
46 | .include "../../math/qhull/buildlink3.mk" | | 45 | .include "../../math/qhull/buildlink3.mk" |
47 | .include "../../graphics/giflib/buildlink3.mk" | | 46 | .include "../../graphics/giflib/buildlink3.mk" |
48 | .include "../../graphics/libwebp/buildlink3.mk" | | 47 | .include "../../graphics/libwebp/buildlink3.mk" |
49 | .include "../../graphics/openjpeg/buildlink3.mk" | | 48 | .include "../../graphics/openjpeg/buildlink3.mk" |
50 | .include "../../graphics/png/buildlink3.mk" | | 49 | .include "../../graphics/png/buildlink3.mk" |
51 | .include "../../graphics/tiff/buildlink3.mk" | | 50 | .include "../../graphics/tiff/buildlink3.mk" |
52 | .include "../../textproc/libxml2/buildlink3.mk" | | 51 | .include "../../textproc/libxml2/buildlink3.mk" |
53 | .include "../../textproc/xerces-c/buildlink3.mk" | | 52 | .include "../../textproc/xerces-c/buildlink3.mk" |
54 | .include "../../www/curl/buildlink3.mk" | | 53 | .include "../../www/curl/buildlink3.mk" |
55 | .include "../../mk/bsd.pkg.mk" | | 54 | .include "../../mk/bsd.pkg.mk" |