summaryrefslogtreecommitdiff
path: root/graphics/gdal
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-04-04 12:46:50 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-04-04 12:46:50 +0000
commitd6a6cbc1f74e6a98f2460d0c746ea64a253b60b3 (patch)
treefdd1e7070cb751c403710f37f82a39bc22538173 /graphics/gdal
parentAdd devel/p5-File-CreationTime 2.03, a Perl module that keeps track of (diff)
- Try to fix build on gcc4
- While I'm here, replace deprecated variable and remove 4.x support
Notes
Notes: svn path=/head/; revision=189181
Diffstat (limited to 'graphics/gdal')
-rw-r--r--graphics/gdal/Makefile10
-rw-r--r--graphics/gdal/files/patch-frmts__fit__fitdataset.cpp11
2 files changed, 14 insertions, 7 deletions
diff --git a/graphics/gdal/Makefile b/graphics/gdal/Makefile
index ec904b367bb0..48c602db1e3c 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 000000000000..71d36cc11916
--- /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.