mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
In new branch 5.x upstream removed support of the MariaDB and MySQL 5.7 and earlier: https://github.com/perl5-dbi/DBD-mysql/issues/405#issuecomment-1818501464 This break a lot of installations with MariaDB. Also DBD-MariaDB (databases/p5-DBD-MariaDB) isn't compatable with DBD-mysql and most of ports doesn't support it. PR: 277889 275100 Approved by: flo, arrowd (mentor, implicit) Differential Revision: https://reviews.freebsd.org/D44524
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
PORTNAME= DBD-mysql
|
|
PORTVERSION= 4.052
|
|
CATEGORIES= databases perl5
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= CPAN:DVEEDEN
|
|
PKGNAMEPREFIX= p5-
|
|
PKGNAMESUFFIX= 4
|
|
|
|
MAINTAINER= sirdice@gmail.com
|
|
COMMENT= MySQL driver for the Perl5 Database Interface (DBI)
|
|
WWW= https://metacpan.org/release/DBD-mysql
|
|
|
|
LICENSE= ART10 GPLv1+
|
|
LICENSE_COMB= dual
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS} \
|
|
p5-Devel-CheckLib>=1.09:devel/p5-Devel-CheckLib
|
|
RUN_DEPENDS= p5-DBI>=1.08:databases/p5-DBI
|
|
TEST_DEPENDS= p5-Test-Deep>=0:devel/p5-Test-Deep
|
|
|
|
USES= compiler:c11 mysql perl5
|
|
USE_PERL5= configure
|
|
|
|
CONFIGURE_ARGS= ${_CONFIGURE_ARGS_${CHOSEN_COMPILER_TYPE}}
|
|
_CONFIGURE_ARGS_gcc= --libs="-L${PREFIX}/lib/gcc${GCC_DEFAULT} `mysql_config --libs | ${SED} 's/-pthread //'`"
|
|
|
|
CONFLICTS_INSTALL= p5-DBD-mysql
|
|
|
|
OPTIONS_DEFINE= SSL
|
|
OPTIONS_DEFAULT= SSL
|
|
|
|
SSL_RUN_DEPENDS= p5-Crypt-SSLeay>=0:security/p5-Crypt-SSLeay
|
|
SSL_USES= ssl
|
|
SSL_CONFIGURE_ON= --ssl
|
|
SSL_CONFIGURE_OFF= --nossl
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/DBD/mysql/mysql.so
|
|
|
|
.include <bsd.port.mk>
|