diff options
author | rafan <rafan@FreeBSD.org> | 2007-04-04 12:46:50 +0000 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2007-04-04 12:46:50 +0000 |
commit | 8042bda08d865ed962c9053205af980c30786a23 (patch) | |
tree | b47ea71a16ed7eeb967977af6f7fb0961ca983a0 /graphics | |
parent | 54106075def9d62baa25e9da3809c0e54b963626 (diff) | |
download | FreeBSD-ports-8042bda08d865ed962c9053205af980c30786a23.zip FreeBSD-ports-8042bda08d865ed962c9053205af980c30786a23.tar.gz |
- Try to fix build on gcc4
- While I'm here, replace deprecated variable and remove 4.x support
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/gdal/Makefile | 10 | ||||
-rw-r--r-- | graphics/gdal/files/patch-frmts__fit__fitdataset.cpp | 11 |
2 files changed, 14 insertions, 7 deletions
diff --git a/graphics/gdal/Makefile b/graphics/gdal/Makefile index ec904b3..48c602d 100644 --- a/graphics/gdal/Makefile +++ b/graphics/gdal/Makefile @@ -36,20 +36,16 @@ CONFIGURE_ARGS= --with-libz=/usr \ --with-jasper=${LOCALBASE} \ --with-python MAKEFILE= GNUmakefile -INSTALLS_SHLIB= yes +USE_LDCONFIG= yes MAN1= gdal-config.1 gdal_utilities.1 gdalwarp.1 ogrtindex.1 \ gdal_contour.1 gdaladdo.1 ogr2ogr.1 pct2rgb.py.1 \ gdal_merge.py.1 gdalinfo.1 ogr_utilities.1 rgb2pct.py.1 \ gdal_translate.1 gdaltindex.1 ogrinfo.1 -post-patch: - @${REINPLACE_CMD} -e 's|6LIBZ|6|;;s|lgif|lungif|' ${WRKSRC}/configure - .include <bsd.port.pre.mk> -.if ${OSVERSION} < 500000 -CONFIGURE_ARGS+=--without-pcraster -.endif +post-patch: + @${REINPLACE_CMD} -e 's|6LIBZ|6|;;s|lgif|lungif|' ${WRKSRC}/configure .include <bsd.port.post.mk> diff --git a/graphics/gdal/files/patch-frmts__fit__fitdataset.cpp b/graphics/gdal/files/patch-frmts__fit__fitdataset.cpp new file mode 100644 index 0000000..71d36cc --- /dev/null +++ b/graphics/gdal/files/patch-frmts__fit__fitdataset.cpp @@ -0,0 +1,11 @@ +--- ./frmts/fit/fitdataset.cpp.orig Wed Apr 4 16:33:12 2007 ++++ ./frmts/fit/fitdataset.cpp Wed Apr 4 16:33:23 2007 +@@ -174,7 +174,7 @@ + + public: + +- FITRasterBand::FITRasterBand( FITDataset *, int ); ++ FITRasterBand( FITDataset *, int ); + ~FITRasterBand(); + + // should override RasterIO eventually. |