aboutsummaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2013-10-20 19:37:16 +0000
committerMartin Matuska <mm@FreeBSD.org>2013-10-20 19:37:16 +0000
commitff9ac28fb273a85b19b806f1ffe6bebaa43800c3 (patch)
tree4f1b72962d3e1c14923a6149496b6be1537cc2c6 /converters
parentb2136d65d39b0a9d92e25f7ab683acb07354d739 (diff)
downloadports-ff9ac28fb273a85b19b806f1ffe6bebaa43800c3.tar.gz
ports-ff9ac28fb273a85b19b806f1ffe6bebaa43800c3.zip
Notes
Diffstat (limited to 'converters')
-rw-r--r--converters/wkhtmltopdf/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/converters/wkhtmltopdf/Makefile b/converters/wkhtmltopdf/Makefile
index 087885749e46..2023116a52c1 100644
--- a/converters/wkhtmltopdf/Makefile
+++ b/converters/wkhtmltopdf/Makefile
@@ -3,7 +3,7 @@
PORTNAME= wkhtmltopdf
DISTVERSION= 0.11.0_rc1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= converters
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}:wkhtmltopdf \
${MASTER_SITE_LOCAL}
@@ -25,6 +25,7 @@ USE_XORG= x11 xext xrender
USE_PERL5= build
USE_LDCONFIG= yes
HAS_CONFIGURE= yes
+USE_GCC= yes
OPTIONS_DEFINE= BUNDLED_LIBS
BUNDLED_LIBS_DESC= Use Qt-bundled jpeg, mng, png and tiff
@@ -76,6 +77,8 @@ post-patch:
-e 's|/usr/X11R6/include|${LOCALBASE}/include/X11|g' \
-e 's|/usr/X11R6/lib|${LOCALBASE}/lib|g' \
${WRKSRC}/mkspecs/freebsd-g++/qmake.conf
+ @${REINPLACE_CMD} -e "s|gcc|${CC}|g" -e "s|g++|${CXX}|g" \
+ ${WRKSRC}/mkspecs/common/g++-base.conf
post-build:
@cd ${WRKSRC} && \