aboutsummaryrefslogtreecommitdiff
path: root/graphics/p5-Geo-GDAL/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/p5-Geo-GDAL/Makefile')
-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}