1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

converters/wkhtmltopdf: Always build with default GCC

- Building with the default GCC version (12) always works.
- GCC 13, soon to become the default GCC version, also works.
- It simplifies the port.
- The port will not build with llvm 16.

PR:		269313
Approved by:	pi (maintainer)
This commit is contained in:
Lorenzo Salvadore 2023-11-23 15:45:25 +00:00
parent a03106812a
commit 83f9c8601b
No known key found for this signature in database
GPG Key ID: 850E0F7350D20966

View File

@ -1,6 +1,6 @@
PORTNAME= wkhtmltopdf
PORTVERSION= 0.12.6
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= converters
MAINTAINER= pi@FreeBSD.org
@ -20,7 +20,8 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libpng.so:graphics/png
USES= compiler gmake iconv jpeg perl5 pkgconfig ssl xorg
USES= gmake iconv jpeg perl5 pkgconfig ssl xorg
USE_GCC= yes
USE_XORG= x11 xext xrender
USE_PERL5= build
USE_LDCONFIG= yes
@ -56,10 +57,6 @@ MAKE_ARGS= INSTALL_ROOT="${STAGEDIR}${PREFIX}"
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386" || ${ARCH} == "powerpc" || ${CHOSEN_COMPILER_TYPE} == gcc
USE_GCC= 10
.endif
pre-patch:
${RMDIR} ${WRKSRC}/qt
${LN} -s ../qt-${WKQT_TAGNAME} ${WRKSRC}/qt