Summary: | devel/uatraits: fix build with GCC-based architectures | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Piotr Kubaj <pkubaj> | ||||
Component: | Individual Port(s) | Assignee: | Dmitry Sivachenko <demon> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | demon | ||||
Priority: | --- | Flags: | demon:
maintainer-feedback+
|
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
A commit references this bug: Author: pkubaj Date: Wed Dec 4 12:41:25 UTC 2019 New revision: 519011 URL: https://svnweb.freebsd.org/changeset/ports/519011 Log: devel/uatraits: fix build with GCC-based architectures 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. PR: 239626 Approved by: mentors (implicit approval), daemon (maintainer, earlier version) Changes: head/devel/uatraits/Makefile head/devel/uatraits/files/patch-config_libxml2.m4 |
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.