Bug 210727 - www/links1: Fails to build with LibreSSL
Summary: www/links1: Fails to build with LibreSSL
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs mailing list
Depends on:
Reported: 2016-06-30 19:25 UTC by Tobias Kortkamp
Modified: 2016-07-02 10:38 UTC (History)
1 user (show)

See Also:

links1.diff (668 bytes, patch)
2016-06-30 19:25 UTC, Tobias Kortkamp
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Kortkamp freebsd_committer 2016-06-30 19:25:45 UTC
Created attachment 171980 [details]

The build fails with

> https.o: In function `getSSL':
> https.c:(.text+0x45): undefined reference to `RAND_egd'

so pretty much what https://wiki.freebsd.org/LibreSSL/Ports already says.

www/links1 is required by textproc/docproj.  Without it building the FreeBSD handbook (misc/freebsd-doc-en) fails.

I followed the patch attached to bug #198765 for www/links to only remove the RAND_egd call if OPENSSL_NO_EGD is defined.
Comment 1 commit-hook freebsd_committer 2016-07-02 10:17:04 UTC
A commit references this bug:

Author: brnrd
Date: Sat Jul  2 10:16:14 UTC 2016
New revision: 417917
URL: https://svnweb.freebsd.org/changeset/ports/417917

  www/links1: Fix building without RAND_egd

    - Move from USE_OPENSSL to USES=ssl

  PR:		210727
  Submitted by:	Tobias Kortkamp <t@tobik.me>