From owner-freebsd-questions@FreeBSD.ORG Thu Feb 3 09:56:23 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 735DE16A4CE for ; Thu, 3 Feb 2005 09:56:23 +0000 (GMT) Received: from male.aldigital.co.uk (male.thebunker.net [213.129.64.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C00343D2D for ; Thu, 3 Feb 2005 09:56:23 +0000 (GMT) (envelope-from matthew@thebunker.net) Received: from gravitas.thebunker.net (gateway.ash.thebunker.net [213.129.64.4]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by male.aldigital.co.uk (Postfix) with ESMTP id 4AC239784F; Thu, 3 Feb 2005 09:56:22 +0000 (GMT) Received: from gravitas.thebunker.net (localhost [127.0.0.1]) j139uMEI081565; Thu, 3 Feb 2005 09:56:22 GMT (envelope-from matthew@gravitas.thebunker.net) Received: (from matthew@localhost) by gravitas.thebunker.net (8.13.1/8.13.1/Submit) id j139uH77080597; Thu, 3 Feb 2005 09:56:17 GMT (envelope-from matthew) Date: Thu, 3 Feb 2005 09:56:17 +0000 From: Matthew Seaman To: Ken Hawkins Message-ID: <20050203095617.GC1210@gravitas.thebunker.net> Mail-Followup-To: Matthew Seaman , Ken Hawkins , freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="c3bfwLpm8qysLVxt" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i cc: freebsd-questions@freebsd.org Subject: Re: make switch for alternate data directory on mysql???-server install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Feb 2005 09:56:23 -0000 --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--