mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Use libtiff from the port rather than the version bundled with gdal
software (thus avoiding libtiff BitsPerSample vulnerability). Bump PORTREVISION. Security: VuXML: 68222076-010b-11da-bc08-0001020eed82
This commit is contained in:
parent
9ccdf092b7
commit
d752fd0364
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=140599
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= gdal
|
||||
PORTVERSION= 1.2.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= ftp://ftp.remotesensing.org/pub/gdal/
|
||||
|
||||
@ -16,7 +16,8 @@ COMMENT= A translator library for raster geospatial data formats
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/bin/doxygen:${PORTSDIR}/devel/doxygen
|
||||
LIB_DEPENDS= jasper.4:${PORTSDIR}/graphics/jasper \
|
||||
png.5:${PORTSDIR}/graphics/png
|
||||
png.5:${PORTSDIR}/graphics/png \
|
||||
tiff.4:${PORTSDIR}/graphics/tiff
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_GMAKE= yes
|
||||
@ -24,7 +25,7 @@ USE_REINPLACE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-libz=internal \
|
||||
--with-png=${LOCALBASE} \
|
||||
--with-libtiff=internal \
|
||||
--with-libtiff=${LOCALBASE} \
|
||||
--with-libgeotiff=internal \
|
||||
--with-libjpeg=internal \
|
||||
--with-libgif=internal \
|
||||
@ -32,6 +33,7 @@ CONFIGURE_ARGS= --with-libz=internal \
|
||||
--with-python
|
||||
MAKEFILE= GNUmakefile
|
||||
INSTALLS_SHLIB= yes
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
|
||||
MAN1= gdaladdo.1 gdalinfo.1 gdaltindex.1 gdalwarp.1 \
|
||||
gdal-config.1 gdal_translate.1 ogrinfo.1 \
|
||||
@ -39,5 +41,6 @@ MAN1= gdaladdo.1 gdalinfo.1 gdaltindex.1 gdalwarp.1 \
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|6LIBZ|6|' ${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e 's|"tiffio.h"|<tiffio.h>|' ${WRKSRC}/frmts/gtiff/libgeotiff/xtiffio.h
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user