svn commit: r560419 - head/converters/wkhtmltopdf

Kurt Jaeger pi at FreeBSD.org
Tue Jan 5 18:46:10 UTC 2021


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>


More information about the svn-ports-all mailing list