From owner-freebsd-ports@FreeBSD.ORG Tue Jun 15 00:11:54 2004 Return-Path: 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 4488216A4CE for ; Tue, 15 Jun 2004 00:11:54 +0000 (GMT) Received: from ylpvm15.prodigy.net (ylpvm15-ext.prodigy.net [207.115.57.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 033EF43D62 for ; Tue, 15 Jun 2004 00:11:53 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (adsl-63-207-60-35.dsl.lsan03.pacbell.net [63.207.60.35])i5F0Bi2M003679; Mon, 14 Jun 2004 20:11:44 -0400 Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 60DED51AEC; Mon, 14 Jun 2004 17:11:43 -0700 (PDT) Date: Mon, 14 Jun 2004 17:11:43 -0700 From: Kris Kennaway To: pbdlists@pinboard.com, freebsd-ports@freebsd.org Message-ID: <20040615001143.GA99359@xor.obsecurity.org> References: <20040614224308.A39347@pinboard.com> <20040614235319.GA1859@wombat.jungle> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IS0zKkzwUGydFO0o" Content-Disposition: inline In-Reply-To: <20040614235319.GA1859@wombat.jungle> User-Agent: Mutt/1.4.2.1i Subject: Re: RUN_DEPENDS with environment X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jun 2004 00:11:54 -0000 --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 [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=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--