aboutsummaryrefslogtreecommitdiffstats
path: root/astro/viking
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2016-11-11 19:59:55 +0800
committerjbeich <jbeich@FreeBSD.org>2016-11-11 19:59:55 +0800
commitfc6536e4588fca2be0f835e0f71ae3f8764e39f1 (patch)
tree967a60b52a2c6a55eb62c604ab020d429226e211 /astro/viking
parent6775ec204c6408f58f8a4dc680c6a82d0dca1921 (diff)
downloadfreebsd-ports-gnome-fc6536e4588fca2be0f835e0f71ae3f8764e39f1.tar.gz
freebsd-ports-gnome-fc6536e4588fca2be0f835e0f71ae3f8764e39f1.tar.zst
freebsd-ports-gnome-fc6536e4588fca2be0f835e0f71ae3f8764e39f1.zip
Track used or drop unused devel/icu dependency
This tries to fix discrepancy between $ pkg rquery '%o %B' | awk '/libicu/ { print $1 }' | sort -u $ git grep -lF :devel/icu | sed 's,/Makefile$,,' PR: 214384 Reported by: tijl, stage-qa, readelf(1)
Diffstat (limited to 'astro/viking')
-rw-r--r--astro/viking/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/astro/viking/Makefile b/astro/viking/Makefile
index f853450eb4b5..795e0cabb14e 100644
--- a/astro/viking/Makefile
+++ b/astro/viking/Makefile
@@ -3,7 +3,7 @@
PORTNAME= viking
PORTVERSION= 1.6.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= astro
MASTER_SITES= SF/${PORTNAME}/
@@ -65,6 +65,7 @@ GPSD_LIB_DEPENDS= libgpsd.so:astro/gpsd
GPSD_CONFIGURE_ENABLE= realtime-gps-tracking
MAPNIK_LIB_DEPENDS= libmapnik.so:graphics/mapnik
+MAPNIK_CONFIGURE_ENV= ac_cv_lib_icuuc_main=no # indirect
MAPNIK_CONFIGURE_ENABLE= mapnik
MBTILES_USES= sqlite
@@ -74,6 +75,7 @@ JOSM_RUN_DEPENDS= josm:astro/josm
MERKAATOR_RUN_DEPENDS= merkaartor:astro/merkaartor
post-patch:
+ @${REINPLACE_CMD} -e '/as_fn_error.*libicuuc/d' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/^AM_CFLAGS/s| -g | |' ${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e 's|Science;|Education;Science;|' \
${WRKSRC}/src/viking.desktop.in