Bug 210727

Summary: www/links1: Fails to build with LibreSSL
Product: Ports & Packages Reporter: Tobias Kortkamp <tobik>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: brnrd
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
links1.diff none

Description Tobias Kortkamp freebsd_committer freebsd_triage 2016-06-30 19:25:45 UTC
Created attachment 171980 [details]
links1.diff

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 freebsd_triage 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

Log:
  www/links1: Fix building without RAND_egd

    - Move from USE_OPENSSL to USES=ssl

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

Changes:
  head/www/links1/Makefile
  head/www/links1/files/patch-https.c