Bug 239008 - archivers/unrar: fix build with GCC-based architectures
Summary: archivers/unrar: fix build with GCC-based architectures
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: Sunpoet Po-Chuan Hsieh
Depends on:
Reported: 2019-07-05 21:21 UTC by Piotr Kubaj
Modified: 2019-07-07 19:17 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (sunpoet)

patch (858 bytes, patch)
2019-07-05 21:21 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (sunpoet)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer 2019-07-05 21:21:07 UTC
Created attachment 205536 [details]

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

  Fix build on powerpc

  PR:		239008
  Submitted by:	pkubaj

Comment 2 Sunpoet Po-Chuan Hsieh freebsd_committer 2019-07-07 19:17:37 UTC
Committed. Thanks!