Date: Sun, 16 Apr 2017 15:20:04 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 218688] [patch] graphics/mupdf links with ssl if a pkgconfig for libcrypto exists Message-ID: <bug-218688-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218688 Bug ID: 218688 Summary: [patch] graphics/mupdf links with ssl if a pkgconfig for libcrypto exists Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: rsmith@xs4all.nl CC: udvzsolt@gmail.com CC: udvzsolt@gmail.com Flags: maintainer-feedback?(udvzsolt@gmail.com) Keywords: patch Created attachment 181824 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D181824&action= =3Dedit Patch for port makefile It checks for libcrypto in Makerules: # FreeBSD uses pkg-config for system libraries. else ifeq "$(OS)" "FreeBSD" HAVE_PTHREADS ?=3D yes ifeq "$(shell pkg-config --exists libcrypto && echo yes)" "yes" HAVE_LIBCRYPTO =3D yes SYS_LIBCRYPTO_CFLAGS =3D -DHAVE_LIBCRYPTO $(shell pkg-config --cflags libcrypto) SYS_LIBCRYPTO_LIBS =3D $(shell pkg-config --libs libcrypto) endif Since I have LibreSSL installed, the pkg-config test yields =E2=80=9Cyes=E2= =80=9D: > pkg-config --exists libcrypto && echo yes yes Since the base system does not have a pkg-config file for libcrypto, I assu= me the test will fail, and mupdf will not link against libcrypto. The easiest solution is to ad USES =3D ssl, as is done in the attached patc= h. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218688-13>