Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Feb 2005 09:56:17 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Ken Hawkins <ken@complex.heavybit.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: make switch for alternate data directory on mysql???-server install
Message-ID:  <20050203095617.GC1210@gravitas.thebunker.net>
In-Reply-To: <Pine.LNX.4.44.0502021412450.12543-100000@complex.heavybit.com>
References:  <Pine.LNX.4.44.0502021412450.12543-100000@complex.heavybit.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--c3bfwLpm8qysLVxt
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Feb 02, 2005 at 02:13:31PM -0800, Ken Hawkins wrote:
> I know there is a switch for make install that will tell it where the=20
> database files will be held (mysql, test, etc...) and I thought it was;
>=20
> make DB_DIR=3D/some/other/dir install

No -- that is right. However be aware that setting DB_DIR on the make
command line has no effect at the install phase of building the port:
it only produces an effect during the configure / compile phase.

Thus if you've previously built the port without the DB_DIR setting,
you need to do a 'make clean' and then start the build from scratch.
=20
> but this is not the case. how can i find out the switches for this and an=
y=20
> other ports?

Most ports will give you a potted summary of the user-settable options
they provide during the compilation process.  Nowadays that often
comes down to poping up an OPTIONS dialog the first time you compile
the port.

The only general method for finding all of the things that you can
modify from the make command line is by reading the port Makefile and
the Makefiles in /usr/ports/Mk.  Which is not too difficult if you
understand how to write Makefiles but confusing for the uninitiated.

	   Cheers,

	   Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       8 Dane Court Manor
                                                      School Rd
PGP: http://www.infracaninophile.co.uk/pgpkey         Tilmanstone
Tel: +44 1304 617253                                  Kent, CT14 0JL UK

--c3bfwLpm8qysLVxt
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iQCVAwUBQgH1QZr7OpndfbmCAQLCbwQAsKfvr81VQu0+ivqwaqEk8vIKVEQlzzfz
LM9THZlNxiNWFTnyD6xRUthHpDzTOcYylkEIwjHQ1XSWirxUa6w8VPZItPkbPduT
/FeKeCe2CpEUhZGmB653VRN1F+bq6XVBB+Z5qQFcr3UbtXAEccpIYpZ/1xdTSd97
RVhboBzcTHY=
=/fGo
-----END PGP SIGNATURE-----

--c3bfwLpm8qysLVxt--



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