aboutsummaryrefslogtreecommitdiffstats
path: root/converters
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-05-14 20:06:38 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-05-14 20:06:38 +0800
commitb10a72558780bc1b7a952d9b37cd476b3915e4f2 (patch)
treeb672518a8e0a39c2c51e5322e23f092e29889288 /converters
parent9f56209bb006b5aac58b355f624ca5fa5502694c (diff)
downloadfreebsd-ports-gnome-b10a72558780bc1b7a952d9b37cd476b3915e4f2.tar.gz
freebsd-ports-gnome-b10a72558780bc1b7a952d9b37cd476b3915e4f2.tar.zst
freebsd-ports-gnome-b10a72558780bc1b7a952d9b37cd476b3915e4f2.zip
- Switch from broken p5-Math-Geometry-Planar-GPC-Polygon to p5-Math-Geometry-Planar-GPC-PolygonXS
Diffstat (limited to 'converters')
-rw-r--r--converters/osm2mp/Makefile7
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