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)
This commit is contained in:
Piotr Kubaj 2019-07-29 19:15:18 +00:00
parent 7e2f3eaf6f
commit 670fcd2115
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=507586

View File

@ -22,7 +22,9 @@ TEST_DEPENDS= p5-Test-Deep>=0:devel/p5-Test-Deep
CONFLICTS_INSTALL?= p5-DBD-mysql[45][0-9]-[0-9]*
USES= mysql perl5
USES= compiler:c11 mysql perl5
CONFIGURE_ARGS= ${CONFIGURE_ARGS_${CHOSEN_COMPILER_TYPE}}
CONFIGURE_ARGS_gcc= --libs="-L${PREFIX}/lib/gcc${GCC_DEFAULT} `mysql_config --libs | ${SED} 's/-pthread //'`"
USE_PERL5= configure
OPTIONS_DEFINE= SSL