mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
Don't allow enabling MySQL or PGSQL implicitly.
Submitted by: nork
This commit is contained in:
parent
4cf011b0b7
commit
b3ec68c311
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=104478
@ -86,12 +86,16 @@ WANT_MYSQL_VER= 323
|
||||
.if defined(WITH_MYSQL)
|
||||
USE_MYSQL= YES
|
||||
CONFIGURE_ARGS+=--with-mysql=${PREFIX}
|
||||
.else
|
||||
CONFIGURE_ARGS+=--without-mysql
|
||||
.endif
|
||||
|
||||
.if defined(WITH_PGSQL)
|
||||
POSTGRESQL_PORT?= databases/postgresql-client
|
||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
||||
CONFIGURE_ARGS+=--with-pgsql=${PREFIX}
|
||||
.else
|
||||
CONFIGURE_ARGS+=--without-pgsql
|
||||
.endif
|
||||
|
||||
.if defined(WITH_MYSQL) || defined(WITH_PGSQL)
|
||||
|
Loading…
Reference in New Issue
Block a user