Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Aug 2001 13:28:43 -0700
From:      John Merryweather Cooper <jmcoopr@webmail.bmi.net>
To:        Anton Berezin <tobez@tobez.org>
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>
In-Reply-To: <20010804000404.B17409@heechee.tobez.org>

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

--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




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