Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Jun 2007 12:57:47 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Klaus Koch <klaus@sentinel.dyndns.info>
Cc:        ports@freebsd.org, Ion-Mihai Tetcu <itetcu@freebsd.org>
Subject:   Re: FreeBSD Port: dspam-devel-3.8.0,1
Message-ID:  <4662ACBB.3080806@infracaninophile.co.uk>
In-Reply-To: <200706031233.52274.klaus@sentinel.dyndns.info>
References:  <200706020904.36038.klaus@sentinel.dyndns.info>	<200706021457.56718.klaus@sentinel.dyndns.info>	<20070602213322.5675cf6d@it.buh.tecnik93.com> <200706031233.52274.klaus@sentinel.dyndns.info>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4662ACBB.3080806>