svn commit: r386327 - head/converters/osm2mp

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu May 14 12:06:38 UTC 2015


Author: amdmi3
Date: Thu May 14 12:06:38 2015
New Revision: 386327
URL: https://svnweb.freebsd.org/changeset/ports/386327

Log:
  - Switch from broken p5-Math-Geometry-Planar-GPC-Polygon to p5-Math-Geometry-Planar-GPC-PolygonXS

Modified:
  head/converters/osm2mp/Makefile

Modified: head/converters/osm2mp/Makefile
==============================================================================
--- head/converters/osm2mp/Makefile	Thu May 14 12:06:13 2015	(r386326)
+++ head/converters/osm2mp/Makefile	Thu May 14 12:06:38 2015	(r386327)
@@ -3,7 +3,7 @@
 
 PORTNAME=	osm2mp
 PORTVERSION=	r475
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	converters geography
 MASTER_SITES=	http://mirror.amdmi3.ru/distfiles/
 
@@ -16,7 +16,7 @@ RUN_DEPENDS=	p5-YAML>=0:${PORTSDIR}/text
 		p5-Math-Polygon-Tree>=0:${PORTSDIR}/math/p5-Math-Polygon-Tree \
 		p5-Tree-R>=0:${PORTSDIR}/devel/p5-Tree-R \
 		p5-Template-Toolkit>=0:${PORTSDIR}/www/p5-Template-Toolkit \
-		p5-Math-Geometry-Planar-GPC-Polygon>=0:${PORTSDIR}/math/p5-Math-Geometry-Planar-GPC-Polygon \
+		p5-Math-Geometry-Planar-GPC-PolygonXS>=0:${PORTSDIR}/math/p5-Math-Geometry-Planar-GPC-PolygonXS \
 		p5-List-MoreUtils>=0:${PORTSDIR}/lang/p5-List-MoreUtils
 
 LICENSE=	GPLv2
@@ -32,7 +32,8 @@ PLIST_FILES=	bin/${PORTNAME}
 PORTDATA=	*
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|garmin.yml|${DATADIR}/&|' ${WRKSRC}/osm2mp.pl
+	@${REINPLACE_CMD} -e 's|garmin.yml|${DATADIR}/&|; s|GPC::Polygon|&XS|' \
+		${WRKSRC}/osm2mp.pl
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/osm2mp.pl ${STAGEDIR}${PREFIX}/bin/osm2mp


More information about the svn-ports-all mailing list