From 9468168fec8f31748481abdc2112827c7f034638 Mon Sep 17 00:00:00 2001 From: Kurt Jaeger Date: Tue, 5 Jan 2021 18:46:09 +0000 Subject: converters/wkhtmltopdf: USE_GCC only on i386 Reported by: arrowd --- converters/wkhtmltopdf/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'converters') diff --git a/converters/wkhtmltopdf/Makefile b/converters/wkhtmltopdf/Makefile index b488d1142310..88aa1f123b87 100644 --- a/converters/wkhtmltopdf/Makefile +++ b/converters/wkhtmltopdf/Makefile @@ -21,7 +21,6 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libpng.so:graphics/png USES= gmake iconv jpeg perl5 pkgconfig ssl xorg -USE_GCC= 8 USE_XORG= x11 xext xrender USE_PERL5= build USE_LDCONFIG= yes @@ -55,6 +54,12 @@ CONFIGURE_ARGS= -prefix ${WRKSRC}/build/qt \ MAKE_ARGS= INSTALL_ROOT="${STAGEDIR}${PREFIX}" +.include + +.if ${ARCH} == "i386" +USE_GCC= 8 +.endif + pre-patch: ${RMDIR} ${WRKSRC}/qt ${LN} -s ../qt-${WKQT_TAGNAME} ${WRKSRC}/qt @@ -88,4 +93,4 @@ post-install: ${STAGEDIR}${PREFIX}/bin/wkhtmltopdf \ ${STAGEDIR}${PREFIX}/lib/libwkhtmltox.so.${PORTVERSION} -.include +.include -- cgit v1.2.3