Bug 239438 - misc/libemos: fix build with GCC architectures
Summary: misc/libemos: fix build with 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: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-25 07:49 UTC by Piotr Kubaj
Modified: 2019-08-02 22:04 UTC (History)
1 user (show)

See Also:
yuri: maintainer-feedback+


Attachments
patch (533 bytes, patch)
2019-07-25 07:49 UTC, Piotr Kubaj
yuri: 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-07-25 07:49:32 UTC
Created attachment 206049 [details]
patch

GCC8 is already used for fortran so set USES=compiler:c11 to use GCC8 for everything.

Set LDFLAGS+=-leccodes to fix:
/usr/local/bin/ld: describe_input_field.c:(.text+0x1a14): undefined reference to `grib_get_long_array'
/usr/local/bin/ld: describe_input_field.c:(.text+0x1c48): undefined reference to `grib_get_error_message'
/usr/local/bin/ld: describe_input_field.c:(.text+0x1c88): undefined reference to `grib_get_double'
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-08-02 22:04:05 UTC
A commit references this bug:

Author: pkubaj
Date: Fri Aug  2 22:03:33 UTC 2019
New revision: 507915
URL: https://svnweb.freebsd.org/changeset/ports/507915

Log:
  misc/libemos: fix build with GCC architectures

  GCC8 is already used for fortran so set USES=compiler:c11 to use GCC8 for everything.

  PR:		239438
  Approved by:	mentors (implicit approval), yuri (mentor)

Changes:
  head/misc/libemos/Makefile