Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Aug 2006 18:08:09 +0200
From:      =?ISO-8859-1?Q?G=E1bor_K=F6vesd=E1n?= <gabor@FreeBSD.org>
To:        ports@FreeBSD.org
Subject:   HEADS-UP: DESTDIR support committed to Mk/
Message-ID:  <44D370E9.1080209@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
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.

-- 
Cheers,

Gabor




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