aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2021-04-16 14:10:34 +0000
committerMathieu Arnold <mat@FreeBSD.org>2021-04-16 14:11:18 +0000
commit2ce09943e35acc23226f18e9020dab2752281450 (patch)
treeed73e54e3b8467320d052968a1871db0126da603
parent2ef2d943eec51c95c26a8aeda9d51286c38c86be (diff)
downloadports-2ce09943e35acc23226f18e9020dab2752281450.tar.gz
ports-2ce09943e35acc23226f18e9020dab2752281450.zip
databases/p5-DBD-mysql: portline & portclippy
Also, this is not a slave port any more.
-rw-r--r--databases/p5-DBD-mysql/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/databases/p5-DBD-mysql/Makefile b/databases/p5-DBD-mysql/Makefile
index 18db492d67c9..45615e7f1bfd 100644
--- a/databases/p5-DBD-mysql/Makefile
+++ b/databases/p5-DBD-mysql/Makefile
@@ -9,7 +9,7 @@ MASTER_SITE_SUBDIR= CPAN:CAPTTOFU
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
-COMMENT?= MySQL driver for the Perl5 Database Interface (DBI)
+COMMENT= MySQL driver for the Perl5 Database Interface (DBI)
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
@@ -20,20 +20,21 @@ BUILD_DEPENDS= ${RUN_DEPENDS} \
RUN_DEPENDS= p5-DBI>=1.08:databases/p5-DBI
TEST_DEPENDS= p5-Test-Deep>=0:devel/p5-Test-Deep
-CONFLICTS_INSTALL?= p5-DBD-mysql[45][0-9]-[0-9]*
-
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
+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[45][0-9]-[0-9]*
+
+OPTIONS_DEFINE= SSL
OPTIONS_DEFAULT= SSL
SSL_RUN_DEPENDS= p5-Crypt-SSLeay>=0:security/p5-Crypt-SSLeay
-SSL_CONFIGURE_OFF= --nossl
-SSL_CONFIGURE_ON= --ssl
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