From owner-freebsd-ports Fri Aug 16 1:18:41 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53E4537B400 for ; Fri, 16 Aug 2002 01:18:36 -0700 (PDT) Received: from south.nanolink.com (south.nanolink.com [217.75.134.10]) by mx1.FreeBSD.org (Postfix) with SMTP id F201E43E6E for ; Fri, 16 Aug 2002 01:18:34 -0700 (PDT) (envelope-from roam@ringlet.net) Received: (qmail 38458 invoked by uid 85); 16 Aug 2002 08:35:00 -0000 Received: from unknown (HELO straylight.ringlet.net) (217.75.134.254) by south.nanolink.com with SMTP; 16 Aug 2002 08:34:58 -0000 Received: (qmail 30680 invoked by uid 1000); 16 Aug 2002 08:17:43 -0000 Date: Fri, 16 Aug 2002 11:17:43 +0300 From: Peter Pentchev To: Kevin Golding Cc: Marcus Henschel , ports@FreeBSD.org Subject: Re: FreeBSD Port: vpopmail-5.3.6_1 Message-ID: <20020816081743.GA19062@straylight.oblivion.bg> Mail-Followup-To: Kevin Golding , Marcus Henschel , ports@FreeBSD.org References: <1cTpUdBQxAX9EwTv@caomhin.demon.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bp/iNruPH9dso1Pn" Content-Disposition: inline In-Reply-To: <1cTpUdBQxAX9EwTv@caomhin.demon.co.uk> User-Agent: Mutt/1.5.1i X-Virus-Scanned: by Nik's Monitoring Daemon (AMaViS perl-11d ) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 15, 2002 at 09:17:20PM +0100, Kevin Golding wrote: > Someone, quite probably Marcus Henschel, once wrote: > >i just tried to install vpopmail via the vpopmail port. > >I do not quite understand how to enable the following > >features discribed in the Makefile: > >- WITH_MYSQL > >- WITH_MYSQL_SERVER > >- WITH_MYSQL_USER > >- WITH_MYSQL_PASSWD > >- WITH_MYSQL_DB > > > >What do i have to enter on the commandline to enable these > >features ? > > > >I tried make WITH_MYSQL, WITH_MYSQL_SERVER=3Dlocalhost, WITH_MYSQL_USER= =3Dvpop, > >WITH_MYSQL_PASSWD=3Dsecret, WITH_MYSQL_DB=3Dvpopmail > >and it does not work. > >Mysql ist already working and the database vpopmail is also created. >=20 > Have you tried adding a yes after with_mysql? Like this? >=20 > # make WITH_MYSQL=3Dyes WITH_MYSQL_SERVER=3Dlocalhost WITH_MYSQL_USER=3Dv= pop=20 > WITH_MYSQL_PASSWD=3Dsecret WITH_MYSQL_DB=3Dvpopmail This is correct. On the make command line, uou have to specify either WITH_MYSQL=3Dyes, or -DWITH_MYSQL to simply define the symbol. Most ports would work if the symbols (knobs) are just defined, but it is good practice to actually set the value of the boolean variables to 'yes' - there are some cases when a variable can take several values, and it is best to avoid ambiguity :) G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 Hey, out there - is it *you* reading me, or is it someone else? --bp/iNruPH9dso1Pn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9XLUm7Ri2jRYZRVMRAnhAAJ0XKyFdKG6oVC6r8GyvAGZaKKUAkQCgqsOV 9RhuURFGn4z+gkSibJ9515Y= =uY2D -----END PGP SIGNATURE----- --bp/iNruPH9dso1Pn-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message