Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 2014 14:32:00 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-ports@freebsd.org
Subject:   Re: USE_MYSQL / USE_PGSQL buildtime dependency differences
Message-ID:  <53A2E650.6040309@infracaninophile.co.uk>
In-Reply-To: <53A2DFDD.3050307@executive-computing.de>
References:  <53A2DFDD.3050307@executive-computing.de>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--wfI0SAQdhrxSDWm3lqEg1Rch89ghtNcSw
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 06/19/14 14:04, Marco Steinbach wrote:
> Mk/bsd.database.mk seems to handle dependencies resulting from the use
> of USE_PGSQL and USE_MYSQL flags differently.
>=20
> USE_PGSQL pulls in PostgreSQL at buildtime, for both, the client and th=
e
> server component.  USE_MYSQL seems to only pull anything in at
> buildtime, if the flag is set to 'client'.
>=20

Lars may have beaten you to the draw as far as icinga2 goes, but for
anyone else hitting this problem:

There is the new:

USES+=3D 		pgsql
WANT_PGSQL=3D	client

form you can use nowadays. 'client' isn't mentioned in the comments at
the top of /usr/ports/Mk/Uses/pgsql.mk, but it's clearly there in the
code, and it seems to work.

	Cheers,

	Matthew




--wfI0SAQdhrxSDWm3lqEg1Rch89ghtNcSw
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQJ7BAEBCgBmBQJTouZYXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw
MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnAFwP+P6e/dpaap8eHuHrDofQg0ly
MD8X3oXNjrmPeVNtaU1N1EsL+kjmjz5Fzetgu1lzRO+jEHrsxdpqhsoj92j6/QNw
jYZz6hMlExXR8WOVzcKgd7UhFz82volhKlNWjlNQHNLqTYT4J4AAXqfuIUOCzR9/
33oBLYjOhFG9NyNrDbfc3Y2Gpd3I1HlhrMdNtaVEhHL7RtufKpRqHVTrbQiS15ZA
MuuDCnk8DIP/lsWGgH2+u5JM6v+DZcnmv6H4p7uCBod13s46k9YvxpjlD9ak6CNF
+//RsvbRucO+QlidQp+R73AiGO67gulx3eB8GskFl9DnsZt1kaClKVBI1FO1bMP4
uRxrf0MLjTNq/vSjYoGCBA4iTpTHV6LIoj7fX8S8ztDKf5VE8Figbnw2sFyZxfcX
u9YYXxgDpXEY0vAmHKxV1BVTiVrNE9/8aB7VzEPinEBv9xiBYParXchQg40SUVbA
7XyYW94UdY2Pd3T88sxMw3doZYMCf350CrR0yisL1RPK0+WQUf132jsytvawWOzi
5tcjHqTiJEMuAZkS7j5Npk9H5+E0Q7p08DloX+jY+8BylL341JTcsiewjMFkPI7b
K8/xc/SdxWKmS0uMRoFlOXRm2JEIw7ESYnZy3lVbQvTl3APUntSF5aNZcj0rM8Re
qZKCTPgJgmzR5etxNhc=
=+ocy
-----END PGP SIGNATURE-----

--wfI0SAQdhrxSDWm3lqEg1Rch89ghtNcSw--



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