Bug 239505

Summary: databases/p5-DBD-mysql: fix build on GCC architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: freebsd-perl (Nobody) <perl>
Status: Closed FIXED    
Severity: Affects Only Me CC: linimon, perl
Priority: --- Flags: bugzilla: maintainer-feedback? (perl)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch mat: maintainer-approval+

Description Piotr Kubaj freebsd_committer freebsd_triage 2019-07-28 23:08:51 UTC
Created attachment 206133 [details]
patch

--libs needs -L/usr/local/lib/gcc9 to find libatomic (needed since MySQL 5.7) on GCC architectures.

I'm pretty sure the sed part can be written better, but I don't know what's the best way possible.
Comment 1 Mathieu Arnold freebsd_committer freebsd_triage 2019-07-29 16:18:51 UTC
Comment on attachment 206133 [details]
patch

approved.
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-07-29 19:16:04 UTC
A commit references this bug:

Author: pkubaj
Date: Mon Jul 29 19:15:18 UTC 2019
New revision: 507586
URL: https://svnweb.freebsd.org/changeset/ports/507586

Log:
  databases/p5-DBD-mysql: fix build on GCC architectures

  --libs needs -L/usr/local/lib/gcc9 to find libatomic (needed since MySQL 5.7) on GCC architectures.

  PR:		239505
  Approved by:	mat (mentor, maintainer)

Changes:
  head/databases/p5-DBD-mysql/Makefile