svn commit: r492159 - in head/graphics/gdal: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Feb 4 20:07:08 UTC 2019
Author: sunpoet
Date: Mon Feb 4 20:07:06 2019
New Revision: 492159
URL: https://svnweb.freebsd.org/changeset/ports/492159
Log:
Use REINPLACE_CMD instead of patch files
Deleted:
head/graphics/gdal/files/patch-frmts-pdf-pdfdataset.cpp
head/graphics/gdal/files/patch-frmts-pdf-pdfobject.cpp
Modified:
head/graphics/gdal/Makefile
Modified: head/graphics/gdal/Makefile
==============================================================================
--- head/graphics/gdal/Makefile Mon Feb 4 20:02:20 2019 (r492158)
+++ head/graphics/gdal/Makefile Mon Feb 4 20:07:06 2019 (r492159)
@@ -137,6 +137,7 @@ post-patch:
@${REINPLACE_CMD} -e '/^#GDAL_SLIB_SONAME/ s|^#||' ${WRKSRC}/GDALmake.opt.in
@${REINPLACE_CMD} -e 's|$$(INST_LIB)/pkgconfig|${PREFIX}/libdata/pkgconfig|; s| LICENSE.TXT||' ${WRKSRC}/GNUmakefile
@${REINPLACE_CMD} -e 's|-lminizip|-lkmlminizip|' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|getCString()|c_str()|' ${WRKSRC}/frmts/pdf/pdfdataset.cpp ${WRKSRC}/frmts/pdf/pdfobject.cpp
# Clean up bundled libraries
@${RM} -r ${WRKSRC}/frmts/gif/giflib/
@${RM} -r ${WRKSRC}/frmts/gtiff/libgeotiff/
More information about the svn-ports-all
mailing list