1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00

- Fix MYSQL option. We don't have USES mysql yet.

- Pet portlint while I'm here

Approved by:	portmgr blanket
This commit is contained in:
Alex Kozlov 2016-01-10 10:04:12 +00:00
parent 097892a09c
commit 87a825ad3e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=405685

View File

@ -38,14 +38,14 @@ OPTIONS_DEFAULT= PGSQL
DOCS_BUILD_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt \
docbook-xsl>=0:${PORTSDIR}/textproc/docbook-xsl
SHEBANG_FILES= ${WRKSRC}/scripts/*
SHEBANG_FILES= ${WRKSRC}/scripts/*
USE_RC_SUBR= refdbd
USE_RC_SUBR= refdbd
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MMYSQL}
USES+= mysql
USE_MYSQL= yes
# If libdbi-drivers has been built without MySQL driver, abort
.if exists(${LOCALBASE}/lib/dbd) && !exists(${LOCALBASE}/lib/dbd/libdbdmysql.so)
IGNORE= rebuild databases/libdbi-drivers with MySQL support
@ -55,7 +55,7 @@ BUILD_DEPENDS+= ${LOCALBASE}/lib/dbd:${PORTSDIR}/databases/libdbi-drivers
CONFIGURE_ARGS+= --with-db-server=mysql
.elif ${PORT_OPTIONS:MPGSQL}
USES+= pgsql
USES+= pgsql
# If libdbi-drivers has been built without PostgreSQL driver, abort
.if exists(${LOCALBASE}/lib/dbd) && !exists(${LOCALBASE}/lib/dbd/libdbdpgsql.so)
IGNORE= rebuild databases/libdbi-drivers with PostgreSQL support