The Port databases/ruby-mysql has a Makefile which attempts to depend upon the correct version of mysqlclient, depending upon which version exists in the file-system. It doesn't work, because it uses ${LOCALBASE} but only has a .include for bsd.port.mk at the end, so ${LOCALBASE} isn't defined at the point in parsing where it's required. Fix: Patch against: ports/databases/ruby-mysql/Makefile,v 1.22 This patch moves to using bsd.port.pre.mk and bsd.port.post.mk; it collapses a nested .else/.if into an .elif; it moves the USE_RUBY* variables up, so that they're defined before bsd.port.pre.mk inclusion so that the correct build methods are defined. How-To-Repeat: install mysql41-client attempt to install ruby-mysql watch as system attempts to install mysql-4.0.x.
Responsible Changed From-To: freebsd-ports-bugs->pav Even better would be to replace whole mess with USE_MYSQL=yes I'll handle this with update in ports/81399
State Changed From-To: open->closed Fixed!