ports/51177: [PATCH] mail/p5-Mail-SpamAssassin fails to install
Michael O. Boev
mike at tric.tomsk.gov.ru
Sun Apr 20 01:33:12 PDT 2003
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...
More information about the freebsd-ports
mailing list