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: |
|
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 |
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'