Bug 241034 - www/anyterm: fix build on arm and GCC architectures
Summary: www/anyterm: fix build on arm and GCC 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: Piotr Kubaj
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-03 11:24 UTC by Piotr Kubaj
Modified: 2019-10-05 10:10 UTC (History)
1 user (show)

See Also:
douglas: maintainer-feedback+


Attachments
patch (1.02 KB, patch)
2019-10-03 11:24 UTC, Piotr Kubaj
koobs: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer freebsd_triage 2019-10-03 11:24:38 UTC
Created attachment 208050 [details]
patch

Linking with boost requires C++11 compiler.

Passing -L/usr/lib makes the compiler link against base libstdc++, which causes build failures on architectures that have libstdc++ in base.

Tested on powerpc64 and armv7, should work on armv6 and aarch64.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2019-10-03 15:56:45 UTC
Approved as mentor pending maintainer review.
Comment 2 Douglas Thrift 2019-10-03 17:21:40 UTC
This looks good. Thanks!
Comment 3 commit-hook freebsd_committer freebsd_triage 2019-10-04 20:46:17 UTC
A commit references this bug:

Author: pkubaj
Date: Fri Oct  4 20:45:24 UTC 2019
New revision: 513779
URL: https://svnweb.freebsd.org/changeset/ports/513779

Log:
  www/anyterm: fix build on arm and GCC architectures

  Linking with boost requires C++11 compiler.

  Passing -L/usr/lib makes the compiler link against base libstdc++, which causes build failures on architectures that have libstdc++ in base.

  PR:		241034
  Approved by:	linimon (mentor), douglas@douglasthrift.net (maintainer)

Changes:
  head/www/anyterm/Makefile
Comment 4 Kubilay Kocak freebsd_committer freebsd_triage 2019-10-05 10:10:02 UTC
^Triage: Assign to committer that resolved