Bug 235987 - audio/gmsynth-lv2: fix build with GCC-based architectures
Summary: audio/gmsynth-lv2: 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: 2019-02-24 10:31 UTC by Piotr Kubaj
Modified: 2019-02-24 17:31 UTC (History)
2 users (show)

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


Attachments
patch (432 bytes, patch)
2019-02-24 10:31 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 2019-02-24 10:31:58 UTC
Created attachment 202319 [details]
patch

-msse -msse2 -mfpmath=sse are not available besides amd64 and i386. Remove them from Makefile.

Rename SSE_MAKE_ENV to SSE_CFLAGS to add them when SSE option is enabled.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2019-02-24 17:30:56 UTC
Committed a different patch that resolves the issue.
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-02-24 17:31:57 UTC
A commit references this bug:

Author: yuri
Date: Sun Feb 24 17:30:53 UTC 2019
New revision: 493774
URL: https://svnweb.freebsd.org/changeset/ports/493774

Log:
  audio/gmsynth-lv2: fix build with GCC-based architectures

  It was a missing patch for Makefile, that the port option was relying on.
  Also, rename the option SSE->SIMD.

  PR:		235987
  Reported by:	Piotr Kubaj <pkubaj@anongoth.pl>

Changes:
  head/audio/gmsynth-lv2/Makefile
  head/audio/gmsynth-lv2/files/
  head/audio/gmsynth-lv2/files/patch-Makefile