converters/wkhtmltopdf: unbreak with openssl111

1) Building the port with openssl from ports leads to an error:
   Error: /usr/local/bin/wkhtmltoimage is linked to
   /usr/local/lib/libssl.so.9 from security/openssl
   but it is not declared as a dependency
2) Building the port with openssl111 from ports does not fail any more.

The Patch fixes both issues.

PR:		236755
Submitted by:	dinoex
This commit is contained in:
Kurt Jaeger 2019-03-24 18:44:12 +00:00
parent a5b8ef24e5
commit 2a2f4eef01
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=496769

View file

@ -3,7 +3,7 @@
PORTNAME= wkhtmltopdf
PORTVERSION= 0.12.5
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= converters
MAINTAINER= pi@FreeBSD.org
@ -16,15 +16,13 @@ BROKEN_aarch64= fails to build: error: cast from pointer to smaller type loses
BROKEN_armv6= fails to build: error: Not supported ARM architecture
BROKEN_armv7= fails to build: error: invalid operand for instruction
BROKEN_mips64= fails to link: undefined reference to __sync_add_and_fetch_4
BROKEN_SSL= openssl111
BROKEN_SSL_REASON_openssl111= member access into incomplete type 'SSL_CIPHER' (aka 'ssl_cipher_st')
RUN_DEPENDS= webfonts>=0:x11-fonts/webfonts
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libpng.so:graphics/png
USES= compiler:c++11-lang gmake iconv jpeg perl5 pkgconfig ssl:build
USES= compiler:c++11-lang gmake iconv jpeg perl5 pkgconfig ssl
USE_XORG= x11 xext xrender
USE_PERL5= build
USE_LDCONFIG= yes