Bug 237608 - math/mppp: fix build with GCC-based architectures, enable -DMPPP_WITH_QUADMATH=ON
Summary: math/mppp: fix build with GCC-based architectures, enable -DMPPP_WITH_QUADMAT...
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: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-27 17:03 UTC by Piotr Kubaj
Modified: 2019-04-27 17:50 UTC (History)
1 user (show)

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


Attachments
patch (677 bytes, patch)
2019-04-27 17:03 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (yuri)
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-04-27 17:03:45 UTC
Created attachment 204068 [details]
patch

Add USES=compiler:c++14-lang everywhere, not just for tests (needed for build on GCC architectures).

Also, since all FreeBSD releases using Clang already use 6, add -DMPPP_WITH_QUADMATH=ON to TEST_ARGS.

Tested on powerpc64 and amd64.
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2019-04-27 17:50:12 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-04-27 17:50:46 UTC
A commit references this bug:

Author: yuri
Date: Sat Apr 27 17:49:57 UTC 2019
New revision: 500217
URL: https://svnweb.freebsd.org/changeset/ports/500217

Log:
  math/mppp: fix build with GCC-based architectures, enable -DMPPP_WITH_QUADMATH=ON

  Add USES=compiler:c++14-lang everywhere, not just for tests, because this library has recently become non-NOARCH.

  PR:		237608
  Submitted by:	pkubaj

Changes:
  head/math/mppp/Makefile