Bug 239505 - databases/p5-DBD-mysql: fix build on GCC architectures
Summary: databases/p5-DBD-mysql: fix build on 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: freebsd-perl mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-28 23:08 UTC by Piotr Kubaj
Modified: 2019-07-29 19:16 UTC (History)
2 users (show)

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


Attachments
patch (483 bytes, patch)
2019-07-28 23:08 UTC, Piotr Kubaj
mat: 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 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 2019-07-29 16:18:51 UTC
Comment on attachment 206133 [details]
patch

approved.
Comment 2 commit-hook freebsd_committer 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