aboutsummaryrefslogtreecommitdiff
path: root/graphics/p5-Geo-GDAL
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-10-12 19:08:29 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-10-12 19:08:29 +0000
commit841d54c170fdfa9ac423d507863865b6b6b74b2f (patch)
treeac5f6f5e66238813726fc33d1e91c8d506a66b27 /graphics/p5-Geo-GDAL
parent6bdcdb09a7842ea87aa482fc579200dea13fbb70 (diff)
downloadports-841d54c170fdfa9ac423d507863865b6b6b74b2f.tar.gz
ports-841d54c170fdfa9ac423d507863865b6b6b74b2f.zip
Notes
Diffstat (limited to 'graphics/p5-Geo-GDAL')
-rw-r--r--graphics/p5-Geo-GDAL/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/p5-Geo-GDAL/Makefile b/graphics/p5-Geo-GDAL/Makefile
index 4e34175ead85..b88c226a37ab 100644
--- a/graphics/p5-Geo-GDAL/Makefile
+++ b/graphics/p5-Geo-GDAL/Makefile
@@ -23,6 +23,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/swig/perl
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's| install| pure_install|' ${WRKSRC}/${MAKEFILE}
+ @${REINPLACE_CMD} -e 's|(const char \*)""|(char \*)""|' ${WRKSRC}/gdal_wrap.cpp ${WRKSRC}/ogr_wrap.cpp
regression-test test: build
cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE} test || ${TRUE}