svn commit: r330178 - head/graphics/p5-Geo-GDAL

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Oct 12 19:08:30 UTC 2013


Author: sunpoet
Date: Sat Oct 12 19:08:29 2013
New Revision: 330178
URL: http://svnweb.freebsd.org/changeset/ports/330178

Log:
  - Fix build on -head
  
  Reported by:	pkg-fallout

Modified:
  head/graphics/p5-Geo-GDAL/Makefile

Modified: head/graphics/p5-Geo-GDAL/Makefile
==============================================================================
--- head/graphics/p5-Geo-GDAL/Makefile	Sat Oct 12 19:05:09 2013	(r330177)
+++ head/graphics/p5-Geo-GDAL/Makefile	Sat Oct 12 19:08:29 2013	(r330178)
@@ -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}


More information about the svn-ports-all mailing list