Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jun 2004 17:11:43 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        pbdlists@pinboard.com, freebsd-ports@freebsd.org
Subject:   Re: RUN_DEPENDS with environment
Message-ID:  <20040615001143.GA99359@xor.obsecurity.org>
In-Reply-To: <20040614235319.GA1859@wombat.jungle>
References:  <20040614224308.A39347@pinboard.com> <20040614235319.GA1859@wombat.jungle>

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

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

On Mon, Jun 14, 2004 at 07:53:19PM -0400, Michael Edenfield wrote:
> * pbdlists@pinboard.com <pbdlists@pinboard.com> [040614 19:15]:
>=20
> > The user should not need to know about these settings, so I want to set
> > these in the Makefile for my port, before the bind84 port is
> > automatically installed, but I just can't figure out how to do this. Ju=
st
> > setting them in my own Makefile does not do the trick, neither does
> > something like the following work:
> >=20
> > pre-fetch:
> >         export PORT_REPLACES_BASE_BIND8=3Dyes
> >         export PORT_REPLACES_BASE_BIND8_INCLUDES=3Dyes
> >=20
> > Has anybody done this before and found a workable solution?
> >=20
>=20
> Change the .MAKEFLAGS variable to include -D<whatever>=3Dyes before the
> make runs for those ports.  The new value of that variable should get
> stuck into the MAKEFLAGS env. var for any child make invocations to pick
> up.

No, that's not going to work, because the user may already have the
port installed.

Kris

P.S. This is a FAQ.
--IS0zKkzwUGydFO0o
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFAzj6+Wry0BWjoQKURAr6KAKCskB7ib8Yi5rIoS9+8dfP55B2R1QCfbMkQ
hlU276NN17ubowK1/9UjNg0=
=Hn4M
-----END PGP SIGNATURE-----

--IS0zKkzwUGydFO0o--



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