Date: Wed, 19 Jun 2013 13:35:46 GMT From: Arnaud Houdelette <freebsd@tzim.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/179719: mail/exim port ignores WITH_MYSQL_VER Message-ID: <201306191335.r5JDZkI7098774@oldred.freebsd.org> Resent-Message-ID: <201306191340.r5JDe2ck019487@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 179719 >Category: ports >Synopsis: mail/exim port ignores WITH_MYSQL_VER >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jun 19 13:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Arnaud Houdelette >Release: FreeBSD 9.1 >Organization: >Environment: FreeBSD carenath.tzim.net 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243787M: Mon Dec 3 05:46:00 CET 2012 root@carenath.tzim.net:/usr/obj/usr/src/sys/CARENATH9 amd64 >Description: When building mail/exim port with MYSQL support enabled in poudriere (or without mysql-client preinstalled), port system tries to install mysql-client. With current port makefile, the default version is installed instead of one defined in WITH_MYSQL_VER. I try to build with WITH_MYSQL_VER=55m (mariadb) >How-To-Repeat: define WITH_MYSQL_VER=55m in make.conf build mail/exim port >Fix: The following patch works for me, and should correct the problem for all : --- Makefile.orig 2013-06-19 15:13:07.026304987 +0200 +++ Makefile 2013-06-19 15:14:36.890301606 +0200 @@ -286,7 +286,7 @@ 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" +.if ${PORT_OPTIONS:MMYSQL} && ${WITH_MYSQL_VER:L} != "auto" WANT_MYSQL_VER= ${WITH_MYSQL_VER} .else .undef WITH_MYSQL_VER >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306191335.r5JDZkI7098774>