Bug 234101 - science/libghemical: fix build with GCC-based architectures
Summary: science/libghemical: 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: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-17 17:14 UTC by Piotr Kubaj
Modified: 2018-12-17 17:51 UTC (History)
2 users (show)

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


Attachments
patch (1.48 KB, patch)
2018-12-17 17:14 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-12-17 17:14:54 UTC
Created attachment 200203 [details]
patch

-Wno-c++11-narrowing is not available in GCC. Set USE_CXXSTD=c++98 to build with both GCC and Clang.

Additionaly, set USES=localbase and reorganize LDFLAGS.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2018-12-17 17:51:28 UTC
Committed with a small addition, thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-12-17 17:51:31 UTC
A commit references this bug:

Author: yuri
Date: Mon Dec 17 17:51:22 UTC 2018
New revision: 487699
URL: https://svnweb.freebsd.org/changeset/ports/487699

Log:
  science/libghemical: fix build with GCC-based architectures

  Some reformatting.
  Also add USES=gl.

  PR:		234101
  Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>

Changes:
  head/science/libghemical/Makefile