From owner-freebsd-ports Wed Aug 8 13:28:52 2001 Delivered-To: freebsd-ports@freebsd.org Received: from yoda.bmi.net (yoda.bmi.net [204.57.191.163]) by hub.freebsd.org (Postfix) with ESMTP id A619637B403 for ; Wed, 8 Aug 2001 13:28:43 -0700 (PDT) (envelope-from jmcoopr@webmail.bmi.net) Received: from johncoop.MSHOME (drumheller-router.bmi.net [206.63.201.3] (may be forged)) by yoda.bmi.net (Pro-8.9.3/Pro-8.9.3) with ESMTP id NAA05492; Wed, 8 Aug 2001 13:55:42 -0700 Received: (from jmcoopr@localhost) by johncoop.MSHOME (8.11.5/8.11.5) id f78KShh45498; Wed, 8 Aug 2001 13:28:43 -0700 (PDT) (envelope-from jmcoopr) Date: Wed, 8 Aug 2001 13:28:43 -0700 From: John Merryweather Cooper To: Anton Berezin Cc: freebsd-ports@freebsd.org Subject: Re: How to tell when BUILD vs. RUN_DEPENDS is appropriate/more appropriate Message-ID: <20010808132843.D41585@johncoop.MSHOME> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="OaZoDhBhXzo6bW1J" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010804000404.B17409@heechee.tobez.org> 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 --OaZoDhBhXzo6bW1J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline < no quoted text--sorry, I'm beating this in manually> As to your first suggestion re BUILD_DEPENDS, I believe it is essential that pkg_delete remove any BUILD_DEPENDS before attempting to delete the main port. Either that, or the build process needs to be modified to DELETE ports built "merely" as BUILD_DEPENDS. This is dictated by the nature of BUILD_DEPENDS--which implies that any BUILD_DEPENDS port is needed ONLY during the build process of the target port. Your suggestion is the only sane option, since removing the BUILD_DEPENDS port(s) after the completion of the target port build results in the involuntary deletion of ports that: 1) may have been previously built (and desired); or 2) may be a desired side-effect of building the target port (in terms of other ports for which the target port is a dependency). As it stands now, BUILD_DEPENDS is broken without the functionality you describe. The other alternative is to eliminate BUILD_DEPENDS and just have LIB_DEPENDS or RUN_DEPENDS. You second suggestion about expanding extras would making debugging bento logs much easier IMHO. YMMV. jmc --OaZoDhBhXzo6bW1J Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQEVAwUBO3Gg+WGGTW8Cfs9HAQGfUAf/Q3BpP+rEJjrWEv6yEQ/YC4YK8gAhhldf c1v/WpB4w8eROXHSASVfl3QeEw7m8p5xtPOHVhjnq1PUKrPQmMtBkP8IK9TsNxJb SwxWjN6scPGJDQnDfikV6p3h4/NZnvhNr/0H0C8+8+vxWPWGsMMrkgwaAmE+h4Kd eX7eaE724tF9YIS7QhqiszGH47bggJjw+e5ACXcQL7okr41ezN0oxoC01JW3Qkd9 CXfa2A2yG82twaKkncwJzx6qVNw2AIdPxu1w27MSOWr4XOOE4ugM816jI6AP8gfe DiMMTomDXObkCfpE/wM17pLrRyAKU2xqMvrV9R22eUENEUZQfEU6wA== =Zd+7 -----END PGP SIGNATURE----- --OaZoDhBhXzo6bW1J-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message