Bug 239626 - devel/uatraits: fix build with GCC-based architectures
Summary: devel/uatraits: fix build with GCC-based architectures
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dmitry Sivachenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-03 20:23 UTC by Piotr Kubaj
Modified: 2019-08-04 10:01 UTC (History)
1 user (show)

See Also:
demon: maintainer-feedback+


Attachments
patch (1.24 KB, patch)
2019-08-03 20:23 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (demon)
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-08-03 20:23:47 UTC
Created attachment 206253 [details]
patch

To link with boost, new GCC is needed on GCC architectures.

Add -L${OPENSSLLIB} only when OPENSSLLIB is not /usr/lib. Adding -L/usr/lib when using ports GCC makes GCC prefer /usr/lib/libstdc++.so instead of its own libstdc++, which makes the build fail.