svn commit: r560456 - head/converters/wkhtmltopdf

Piotr Kubaj pkubaj at FreeBSD.org
Wed Jan 6 00:23:00 UTC 2021


Author: pkubaj
Date: Wed Jan  6 00:22:59 2021
New Revision: 560456
URL: https://svnweb.freebsd.org/changeset/ports/560456

Log:
  converters/wkhtmltopdf: fix build on GCC architectures
  
  Both GCC 4.2 and 9 can't build this port, but 8 can, so add GCC architectures to the conditional.

Modified:
  head/converters/wkhtmltopdf/Makefile

Modified: head/converters/wkhtmltopdf/Makefile
==============================================================================
--- head/converters/wkhtmltopdf/Makefile	Wed Jan  6 00:22:46 2021	(r560455)
+++ head/converters/wkhtmltopdf/Makefile	Wed Jan  6 00:22:59 2021	(r560456)
@@ -20,7 +20,7 @@ LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
 		libfreetype.so:print/freetype2 \
 		libpng.so:graphics/png
 
-USES=		gmake iconv jpeg perl5 pkgconfig ssl xorg
+USES=		compiler gmake iconv jpeg perl5 pkgconfig ssl xorg
 USE_XORG=	x11 xext xrender
 USE_PERL5=	build
 USE_LDCONFIG=	yes
@@ -56,7 +56,7 @@ MAKE_ARGS=	INSTALL_ROOT="${STAGEDIR}${PREFIX}"
 
 .include <bsd.port.pre.mk>
 
-.if ${ARCH} == "i386"
+.if ${ARCH} == "i386" || ${CHOSEN_COMPILER_TYPE} == gcc
 USE_GCC=	8
 .endif
 


More information about the svn-ports-head mailing list