Bug 191225 - [maintainer] Fix port games/megaglest build error with SSL
Summary: [maintainer] Fix port games/megaglest build error with SSL
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: John Marino
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-20 21:20 UTC by rnejdl
Modified: 2014-07-20 21:03 UTC (History)
1 user (show)

See Also:


Attachments
megaglest.diff (373 bytes, patch)
2014-06-20 21:20 UTC, rnejdl
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description rnejdl 2014-06-20 21:20:39 UTC
Created attachment 143975 [details]
megaglest.diff

This adds a line to the makefile to include SSL for building.  No version bump because it won't build without the fix.  Think this is required due to all the libssl updates from heartbleed.

How-To-Repeat:
Try to build megaglest on FreeBSD 10.
Comment 1 commit-hook freebsd_committer freebsd_triage 2014-07-20 21:01:02 UTC
A commit references this bug:

Author: marino
Date: Sun Jul 20 21:00:01 UTC 2014
New revision: 362372
URL: http://svnweb.freebsd.org/changeset/ports/362372

Log:
  games/megaglest: Fix on FreeBSD 10+ (from dports)

  I had fixed megaglest in dports a few days ago, not realizing that the
  build was also broken on FreeBSD until I saw the PR.  Due to the size
  of megaglest-data (~265M), I haven't actually tested the fix on FreeBSD
  but it should work.  The dports fix is more extensive than the PR.

  PR:		191225
  Submitted by:	maintainer (Rusty Nejdl)

Changes:
  head/games/megaglest/Makefile
Comment 2 John Marino freebsd_committer freebsd_triage 2014-07-20 21:03:07 UTC
No, it's because FreeBSD 10 and later has a change in behavior of the linker.  It requires explicit linking.  The earlier FreeBSD's were sucking in libssl through recursive searching for dependent libraries.

libcrypto has been added for the same reason.

Let me know if the port isn't fixed.  I think it should work now.