Bug 232034 - devel/pcre: add USES=c++11-lang
Summary: devel/pcre: add USES=c++11-lang
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: Mark Linimon
URL:
Keywords:
Depends on:
Blocks: 232035
  Show dependency treegraph
 
Reported: 2018-10-07 16:29 UTC by Piotr Kubaj
Modified: 2018-10-28 09:35 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (krion)


Attachments
patch (354 bytes, patch)
2018-10-07 16:29 UTC, Piotr Kubaj
no flags Details | Diff
v2 (496 bytes, patch)
2018-10-07 16:53 UTC, Piotr Kubaj
no flags 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 2018-10-07 16:29:51 UTC
Created attachment 197873 [details]
patch

Although this port builds with base GCC, other ports that depend on pcre and use GCC from ports fail to link against pcre.

That's why pcre needs to use GCC from ports as well.

This fixes build for e.g. sysutils/lnav on architectures using GCC in base.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 Piotr Kubaj freebsd_committer freebsd_triage 2018-10-07 16:53:38 UTC
Created attachment 197875 [details]
v2

Don't break mips*.
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-10-28 09:33:17 UTC
A commit references this bug:

Author: linimon
Date: Sun Oct 28 09:33:00 UTC 2018
New revision: 483248
URL: https://svnweb.freebsd.org/changeset/ports/483248

Log:
  Fix build on powerpc.

  PR:		232034
  Submitted by:	Piotr Kubaj
  Approved by:	portmgr (tier-2 blanket)

Changes:
  head/devel/pcre/Makefile