svn commit: r507586 - head/databases/p5-DBD-mysql
Piotr Kubaj
pkubaj at FreeBSD.org
Mon Jul 29 19:15:19 UTC 2019
Author: pkubaj
Date: Mon Jul 29 19:15:18 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)
Modified:
head/databases/p5-DBD-mysql/Makefile
Modified: head/databases/p5-DBD-mysql/Makefile
==============================================================================
--- head/databases/p5-DBD-mysql/Makefile Mon Jul 29 18:41:44 2019 (r507585)
+++ head/databases/p5-DBD-mysql/Makefile Mon Jul 29 19:15:18 2019 (r507586)
@@ -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
More information about the svn-ports-all
mailing list