Apparently wkhtmltopdf has a runtime dependency on icu4c. Attached
patch adds it to the port. It would be great if this patch could
also be added to 5.9-stable.

Thanks.

Frank
Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/wkhtmltopdf/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile    13 Jan 2016 22:31:38 -0000      1.6
+++ Makefile    21 Mar 2016 19:07:41 -0000
@@ -8,7 +8,7 @@ COMMENT =               convert HTML to PDF using Web
 GH_ACCOUNT =           wkhtmltopdf
 GH_PROJECT =           wkhtmltopdf
 GH_TAGNAME =           0.12.2.4
-REVISION =             2
+REVISION =             3
 QT_COMMIT =            7e48a1fac7e0f9aefccd01e9871f987da3a62fda
 MASTER_SITES0 = https://github.com/wkhtmltopdf/qt/archive/
 DISTFILES =            ${DISTNAME}.tar.gz \
@@ -25,11 +25,13 @@ MAINTAINER =                Frank Groeneveld <frank@fr
 # LGPLv3
 PERMIT_PACKAGE_CDROM = Yes

-WANTLIB += X11 Xext Xrender c fontconfig freetype jpeg m png pthread stdc++ z
+WANTLIB += X11 Xext Xrender c fontconfig freetype icui18n jpeg m png pthread \
+                       stdc++ z

 MODULES =              converters/libiconv
 LIB_DEPENDS =          graphics/png \
                        graphics/jpeg
+RUN_DEPENDS =          textproc/icu4c

 USE_GMAKE =            Yes
 MAKE_FLAGS =           LIBwkhtmltox_VERSION=${LIBwkhtmltox_VERSION}

Reply via email to