diff options
-rw-r--r-- | converters/osm2mp/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/converters/osm2mp/Makefile b/converters/osm2mp/Makefile index 695dc64ce110..4ce24a1ec045 100644 --- a/converters/osm2mp/Makefile +++ b/converters/osm2mp/Makefile @@ -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}/textproc/p5-YAML \ 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 |