Bug 239438

Summary: misc/libemos: fix build with GCC architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Yuri Victorovich <yuri>
Status: Closed FIXED    
Severity: Affects Only Me CC: yuri
Priority: --- Flags: yuri: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch yuri: maintainer-approval+

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