Date: Sun, 20 Apr 2003 01:40:12 -0700 (PDT) From: "Michael O. Boev" <mike@tric.tomsk.gov.ru> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/51177: [PATCH] mail/p5-Mail-SpamAssassin fails to install Message-ID: <200304200840.h3K8eCvE000107@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/51177; it has been noted by GNATS. From: "Michael O. Boev" <mike@tric.tomsk.gov.ru> To: <freebsd-gnats-submit@FreeBSD.org>, "Michael O. Boev" <mike@tric.tomsk.gov.ru> Cc: <freebsd-ports@freebsd.org> Subject: Re: ports/51177: [PATCH] mail/p5-Mail-SpamAssassin fails to install Date: Sun, 20 Apr 2003 15:34:27 +0700 Hello everyone! I've made some further investigations on this subject... There's some weird makefile logic about setting .OBJDIR for ports... Here's my setup. 1) I have a nightly checkout of ports in /srv/FreeBSD/ports to which I used to symlink /usr/ports (for ease of typing) 2) To reflect this, I add PORTSDIR=/srv/FreeBSD/ports to /etc/make.conf I believe it's a legal setup according to ports(7). Here's what I've done. isrv# cd /srv/FreeBSD/ports/mail/p5-Mail-SpamAssassin isrv# make -V .OBJDIR /usr/obj/srv/FreeBSD/ports/mail/p5-Mail-SpamAssassin See the .OBJDIR above? Now I comment out the PORTSDIR=blablabla from /etc/make.conf. And look what happens... isrv# mkdir /usr/ports isrv# mount -t null /srv/FreeBSD/ports /usr/ports isrv# cd /usr/ports/mail/p5-Mail-SpamAssassin isrv# make -V .OBJDIR /usr/ports/mail/p5-Mail-SpamAssassin See what happens to .OBJDIR? I conclude this what triggers the installation failure. As most people (I believe) have ports in /usr/ports, the bug like this never happens. But, I've no idea (yet) where this magic logic happens. Hope this helps...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304200840.h3K8eCvE000107>