Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jan 2021 18:46:10 +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: r560419 - head/converters/wkhtmltopdf
Message-ID:  <202101051846.105IkAfC055235@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Tue Jan  5 18:46:09 2021
New Revision: 560419
URL: https://svnweb.freebsd.org/changeset/ports/560419

Log:
  converters/wkhtmltopdf: USE_GCC only on i386
  
  Reported by:	arrowd

Modified:
  head/converters/wkhtmltopdf/Makefile

Modified: head/converters/wkhtmltopdf/Makefile
==============================================================================
--- head/converters/wkhtmltopdf/Makefile	Tue Jan  5 18:34:09 2021	(r560418)
+++ head/converters/wkhtmltopdf/Makefile	Tue Jan  5 18:46:09 2021	(r560419)
@@ -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 <bsd.port.pre.mk>
+
+.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 <bsd.port.mk>
+.include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101051846.105IkAfC055235>