Date: Tue, 2 Oct 2018 04:00:53 +0000 (UTC) From: Kurt Jaeger <pi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r481095 - head/converters/wkhtmltopdf Message-ID: <201810020400.w9240r0L059123@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pi Date: Tue Oct 2 04:00:53 2018 New Revision: 481095 URL: https://svnweb.freebsd.org/changeset/ports/481095 Log: converters/wkhtmltopdf: fix build on powerpc64 - requires USES=compiler:c++11-lang to build on powerpc64 - It also requires changing values in mkspecs to point to proper compiler PR: 231858 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> Sponsored by: Hardware by IntegriCloud Modified: head/converters/wkhtmltopdf/Makefile Modified: head/converters/wkhtmltopdf/Makefile ============================================================================== --- head/converters/wkhtmltopdf/Makefile Tue Oct 2 01:25:49 2018 (r481094) +++ head/converters/wkhtmltopdf/Makefile Tue Oct 2 04:00:53 2018 (r481095) @@ -17,7 +17,6 @@ BROKEN_aarch64= fails to build: error: cast from poin BROKEN_armv6= fails to build: error: Not supported ARM architecture BROKEN_armv7= fails to build: error: invalid operand for instruction BROKEN_mips64= fails to link: undefined reference to __sync_add_and_fetch_4 -BROKEN_powerpc64= fails to build: RenderObject.o: sibling call optimization to does not allow automatic multiple TOCs BROKEN_SSL= openssl-devel BROKEN_SSL_REASON_openssl-devel= member access into incomplete type 'SSL_CIPHER' (aka 'ssl_cipher_st') @@ -26,7 +25,7 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libpng.so:graphics/png -USES= compiler:env gmake iconv jpeg perl5 pkgconfig ssl:build +USES= compiler:c++11-lang gmake iconv jpeg perl5 pkgconfig ssl:build USE_XORG= x11 xext xrender USE_PERL5= build USE_LDCONFIG= yes @@ -70,6 +69,9 @@ post-patch: -e 's|/usr/X11R6/include|${LOCALBASE}/include/X11|g' \ -e 's|/usr/X11R6/lib|${LOCALBASE}/lib|g' \ ${PATCH_WRKSRC}/mkspecs/freebsd-g++/qmake.conf + ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ + -e 's|%%GCC_DEFAULT%%|${GCC_DEFAULT}|g' \ + ${PATCH_WRKSRC}/mkspecs/common/gcc-base.conf ${REINPLACE_CMD} -e "s|gcc|${CC}|g" -e "s|g++|${CXX}|g" \ ${PATCH_WRKSRC}/mkspecs/common/g++-base.conf ${REINPLACE_CMD} -e "s|share/man|man|g" \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810020400.w9240r0L059123>