Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jan 2021 00:23:00 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r560456 - head/converters/wkhtmltopdf
Message-ID:  <202101060023.1060N0LO066984@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



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