'port install' can't find variable declared in variant

Ryan Schmidt ryandesign at macports.org
Fri May 4 18:06:03 PDT 2012


On May 4, 2012, at 19:53, Bjarne D Mathiesen wrote:

> Error: Target org.macports.destroot returned: can't read "mysqlver": no
> such variable
> Log for php5-mysql is at:
> /macports/var/macports/logs/_Volumes_Bjarne_WebServer_MacPorts_newPorts_php_php5-mysql/php5-mysql/main.log
> Error: Status 1 encountered during processing.
> To report a bug, see <http://guide.macports.org/#project.tickets>
> 
> Now, can anyone tell me what I'm doing wrong ???

Somewhere in the global part of the portfile, declare that variable by setting it to a dummy value.

set mysqlver ""




More information about the macports-dev mailing list