Bug 239008

Summary: archivers/unrar: fix build with GCC-based architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Sunpoet Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Only Me CC: linimon, sunpoet
Priority: --- Flags: bugzilla: maintainer-feedback? (sunpoet)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch pkubaj: maintainer-approval? (sunpoet)

Description Piotr Kubaj freebsd_committer 2019-07-05 21:21:07 UTC
Created attachment 205536 [details]
patch

Add USES=compiler:c++11-lang to allow compilation to succeed.

Only add -L${OPENSSLLIB} when non-base OpenSSL is used, this is to not add -L/usr/lib and prevent linking with base libstdc++.
Comment 1 commit-hook freebsd_committer 2019-07-07 19:17:16 UTC
A commit references this bug:

Author: sunpoet
Date: Sun Jul  7 19:16:09 UTC 2019
New revision: 506191
URL: https://svnweb.freebsd.org/changeset/ports/506191

Log:
  Fix build on powerpc

  PR:		239008
  Submitted by:	pkubaj

Changes:
  head/archivers/unrar/Makefile
Comment 2 Sunpoet Po-Chuan Hsieh freebsd_committer 2019-07-07 19:17:37 UTC
Committed. Thanks!