svn commit: r331060 - head/converters/wkhtmltopdf
Martin Matuska
mm at FreeBSD.org
Sun Oct 20 19:37:17 UTC 2013
Author: mm
Date: Sun Oct 20 19:37:16 2013
New Revision: 331060
URL: http://svnweb.freebsd.org/changeset/ports/331060
Log:
Compile wkhtmltopdf under FreeBSD 10.x by dependig on gcc
TODO: backport patches from www/qt4-webkit
Modified:
head/converters/wkhtmltopdf/Makefile
Modified: head/converters/wkhtmltopdf/Makefile
==============================================================================
--- head/converters/wkhtmltopdf/Makefile Sun Oct 20 19:31:50 2013 (r331059)
+++ head/converters/wkhtmltopdf/Makefile Sun Oct 20 19:37:16 2013 (r331060)
@@ -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} && \
More information about the svn-ports-all
mailing list