FreeBSD Port: dspam-devel-3.8.0,1
Matthew Seaman
m.seaman at infracaninophile.co.uk
Sun Jun 3 12:01:39 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Klaus Koch wrote:
> sorry for not making myself clear, but I _have_ mysql-client-5.1 installed.
> It's what freebsd installs by default if you're doing portinstall
> mysql-server/mysql-client.
Ummm... no it doesn't. The default version is mysql 5.0.
% grep -A 2 DEFAULT_MYSQL_VER /usr/ports/Mk/bsd.database.mk
# DEFAULT_MYSQL_VER
# - MySQL default version. Can be overriden within a port.
# Default: 50.
- --
DEFAULT_MYSQL_VER?= 50
# MySQL client version currently supported.
MYSQL323_LIBVER= 10
- --
MYSQL_VER= ${DEFAULT_MYSQL_VER}
.endif
.endif # WANT_MYSQL_VER
You must have either 'WANT_MYSQL_VER' defined in /etc/make.conf or you
have previously installed one of the mysql-client ports: the bsd.database.mk
Makefile will detect the presence of the mysql client and query it
to find what version it is:
# Setting/finding MySQL version we want.
.if exists(${LOCALBASE}/bin/mysql)
_MYSQL_VER!= ${LOCALBASE}/bin/mysql --version | ${SED} -e 's/.*Distrib \([0-9]\)\.\([0-9]*\).*/\1\2/'
.endif
Not that this helps you with your dspam problem I'm afraid.
Cheers,
Matthew
- --
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGYqy78Mjk52CukIwRCJ8LAJ981QyztS6eZWBiyOo2FafhLrCjrACfV0QB
NIwtd9k02ejxvh7G6AY1LnU=
=SVVt
-----END PGP SIGNATURE-----
More information about the freebsd-ports
mailing list