mirror of
https://git.freebsd.org/ports.git
synced 2025-05-24 23:16:33 -04:00
mail/exim: fix handling of WITH_MYSQL_VER
- fix introduction of bogus MYSQL_VER option that appeared after blind conversion to OPTIONSng in r320120; - drop support for WITH_MYSQL_VER="auto": this is an obsolete setting that currently has the same effect as not defining WITH_MYSQL_VER at all; - don't set WANT_MYSQL_VER based on WITH_MYSQL_VER: setting the latter is enough, since we don't insist on any particular MySQL version. PR: ports/179719 QA page: http://codelabs.ru/fbsd/ports/qa/mail/exim/4.80.1_2-p1
This commit is contained in:
parent
7076c32310
commit
ae35729648
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=321586
1 changed files with 5 additions and 6 deletions
|
@ -286,14 +286,13 @@ SEDLIST+= -e 's,^(DBMLIB=),\# \1,'
|
|||
SEDLIST+= -e 's,XX_DB_LIBS_XX,${DB_LIBS:S/,/\\,/g},' \
|
||||
-e 's,XX_DB_INCLUDES_XX,${DB_INCLUDES:S/,/\\,/g},'
|
||||
|
||||
.if ${PORT_OPTIONS:MMYSQL_VER} && ${WITH_MYSQL_VER:L} != "auto"
|
||||
WANT_MYSQL_VER= ${WITH_MYSQL_VER}
|
||||
.else
|
||||
.undef WITH_MYSQL_VER
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MMYSQL}
|
||||
.if defined(WITH_MYSQL_VER) && ${WITH_MYSQL_VER:L} == "auto"
|
||||
IGNORE= WITH_MYSQL_VER set to "${WITH_MYSQL_VER}" is no longer supported.
|
||||
IGNORE+= Just don't set WITH_MYSQL_VER if you want to use system-default version
|
||||
.else
|
||||
USE_MYSQL= yes
|
||||
.endif
|
||||
SEDLIST+= -e 's,XX_MYSQL_LIBS_XX,-L${LOCALBASE:S/,/\\,/g}/lib/mysql -lmysqlclient,' \
|
||||
-e 's,XX_MYSQL_INCLUDE_XX,-I${LOCALBASE:S/,/\\,/g}/include/mysql,' \
|
||||
-e 's,^\# (LOOKUP_MYSQL=),\1,'
|
||||
|
|
Loading…
Add table
Reference in a new issue