cvs commit: ports/Mk bsd.port.mk

Kenneth Vestergaard Schmidt kvs at binarysolutions.dk
Mon Aug 6 04:13:49 PDT 2007


Alexander Leidinger <Alexander at Leidinger.net> writes:
> I was tempted to say it also decreases the amount of time for
> incremental package builds, but as the package dependencies change
> (meta data for the portversion or portrevision) all packages which
> have a changed port in their implicit dependency list will change and
> have to be rebuild. So it doesn't cut down the official builds, but at
> least the development und "user-update" time.

We actually do this - we have a central build-box, where we manage all
packages for all our machines. To cut down on build-time, we cache built
packages, and reuse them when building for other machines.

This, of course, requires us to track environment and dependencies for
each host/port-combination. With implicit dependencies recorded in the
package, this effectively kills this approach.

One example would be a php5 extension like eg. php5-zlib. With implicit
dependencies, this package would also depend on some Apache-package,
even though the php5-zlib object code was exactly the same. This forced
us to build all php-extensions separately for each box.

We had a custom patch in our ports-tree, which did exactly the same as
Alexander's patch - with this commited, we can remove our custom patch,
which is always nice :)

/Kenneth


More information about the cvs-all mailing list