aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorEygene Ryabinkin <rea@FreeBSD.org>2013-06-22 20:00:56 +0000
committerEygene Ryabinkin <rea@FreeBSD.org>2013-06-22 20:00:56 +0000
commitae35729648a8c2303fdef700ab0d35e1b6d3bec9 (patch)
tree7c318c3c715e74699d32f550f8833152e5cb3be3 /mail
parent7076c32310207fdc31567858eb2d276897340ffc (diff)
downloadports-ae35729648a8c2303fdef700ab0d35e1b6d3bec9.tar.gz
ports-ae35729648a8c2303fdef700ab0d35e1b6d3bec9.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/exim/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index 9a6f29590a2d..cdf7490df45c 100644
--- a/mail/exim/Makefile
+++ b/mail/exim/Makefile
@@ -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,'