Wrong BUILD_DEPENDS behaviour

Kris Kennaway kris at obsecurity.org
Sun May 25 04:17:20 PDT 2003


On Sun, May 25, 2003 at 01:12:26PM +0200, Alex Dupre wrote:
> The bsd.port.mk file says:
> 
> # BUILD_DEPENDS - A list of "path:dir[:target]" tuples of other ports this
> #                 package depends to build (between the "extract" and
> #                 "build" stages, inclusive).
> 
> For me this means extract, patch, configure and build stages.

This comment is out of date.  It now only refers to the build stage only.

> Consider a fresh FreeBSD installation that requires the sed_inplace port
> and a port who define USE_REINPLACE to sed something in the post-patch
> stage. The sed_inplace port will not be installed before the configure
> stage and the build will fail in patch stage.

You're right - in fact imp already submitted the patch to fix this
(change BUILD_DEPENDS to PATCH_DEPENDS) and was given approval to
commit it, but he didn't do it in time for the freeze.


Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20030525/eb4f2241/attachment.bin


More information about the freebsd-ports mailing list