Bug 239626 - devel/uatraits: fix build with GCC-based architectures
Summary: devel/uatraits: 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: Dmitry Sivachenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-03 20:23 UTC by Piotr Kubaj
Modified: 2019-12-04 12:51 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.
Comment 1 commit-hook freebsd_committer 2019-12-04 12:42:10 UTC
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