HEADS-UP: DESTDIR support committed to Mk/

Renato Botelho rbgarga at gmail.com
Fri Aug 4 17:45:48 UTC 2006


On 8/4/06, Gábor Kövesdán <gabor at freebsd.org> wrote:
> Hi,
>
> I am pleased to announce, that portmgr committed my patch for ports
> infrastructure DESTDIR support today. Note that this support is only for
> the infrastructure, ports may or may not respect the DESTDIR macro, so
> you should use this with care. Also note, that we only tested this
> patchset without the DESTDIR macro set, but will do an another one with
> DESTDIR set to something and check how many ports respect DESTDIR and
> how many left to fix, but port maintainers can start checking their
> ports and fixing them if necessary. Unfortunately, testing ports for
> DESTDIR is pretty difficult, since we don't have support for this in
> tinderbox. I used a chroot jail installed into an another chroot jail to
> ensure I won't make my filesystem dirty. I chrooted into the first jail
> and run make install for the given port with DESTDIR set to the another
> chroot jail, checked if everything went fine and did make deinstall and
> checked if everything is still good. I know it's a bit complicated, but
> we don't have better yet.
>
> I've also written a Wiki page for DESTDIR with some guidelines what to
> care about when writing DESTDIR-respective ports.
> You can find it here: http://wikitest.freebsd.org/DESTDIR
>
> I also suggest to read the CHANGES entry, if you haven't done this yet:
> http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/ports/CHANGES?rev=1.57&content-type=text/plain
>
> Documentation update for porters-handbook will also come soon.
>
> If you have questions, please feel free to contact me.

Great news. Congratulations and thanks for the great work!

-- 
Renato Botelho


More information about the freebsd-ports mailing list