Bug 241034

Summary: www/anyterm: fix build on arm and GCC architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Piotr Kubaj <pkubaj>
Status: Closed FIXED    
Severity: Affects Only Me CC: douglas
Priority: --- Flags: douglas: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch koobs: maintainer-approval+

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