Date: Tue, 07 Jun 2011 22:19:51 -0700 From: Doug Barton <dougb@FreeBSD.org> To: FreeBSD Ports <freebsd-ports@FreeBSD.org> Cc: nivit@FreeBSD.org, Brooks Davis <brooks@freebsd.org>, kde@FreeBSD.org, Boris Samorodov <bsam@FreeBSD.org>, wen@FreeBSD.org, onatan@gmail.com, geoffroy desvernay <dgeo@centrale-marseille.fr>, itetcu@FreeBSD.org Subject: Ports that break with "WITH_MYSQL_VER= 52" (i.e., mariadb) Message-ID: <4DEF0677.4030204@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
Howdy, Recently I split the mariadb port into -client and -server versions. My next step was going to be adding support for this to bsd.databases.mk, but it turns out that it's already there, cleverly hidden behind: .if (${MYSQL_VER} == "52") So I tested some stuff setting "WITH_MYSQL_VER= 52" in /etc/make.conf, including INDEX building, and I got 8 errors, in 2 categories. The first are ports that set a direct dependency such as this: RUN_DEPENDS+= ${LOCALBASE}/libexec/mysqld:${PORTSDIR}/databases/mysql${MYSQL_VER}-server That fails when MYSQL_VER= 52 since there is no such port directory. I *think* (and please forgive me if I'm wrong) that these can be fixed by changing that dependency to: USE_MYSQL= server and/or eliminating the specific dependency when that's already set. If I'm wrong, please feel free to suggest the correct solution. :) The other category of problems is a direct dependency on: ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql${MYSQL_VER} As far as I can see this one can/should be solved by adding a slave port for databases/p5-DBD-mysql52, which I just did. I'd really like to see mariadb become a first-class provider for mysql, and it seems that we're really close to making that happen. mysql${MYSQL_VER}-server errors: audio/squeezeboxserver databases/akonadi games/mkgichessclub security/pantera www/b2evolution p5-DBD-mysql52 errors: multimedia/zoneminder ports-mgmt/tinderbox ports-mgmt/tinderbox-devel -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DEF0677.4030204>