From owner-freebsd-ports@FreeBSD.ORG Sun Apr 20 01:33:12 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8690A37B401; Sun, 20 Apr 2003 01:33:12 -0700 (PDT) Received: from isrv.tric.tomsk.gov.ru (isrv.tric.tomsk.gov.ru [213.183.106.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A1A643FA3; Sun, 20 Apr 2003 01:33:11 -0700 (PDT) (envelope-from mike@tric.tomsk.gov.ru) Received: from draco (m249951.dialup.sobes [192.168.1.236]) by isrv.tric.tomsk.gov.ru (8.12.9/8.12.9) with SMTP id h3K8WsJW097400; Sun, 20 Apr 2003 15:32:54 +0700 (NOVST) (envelope-from mike@tric.tomsk.gov.ru) Message-ID: <00a001c30717$a8a0ab50$ec01a8c0@draco> From: "Michael O. Boev" To: , "Michael O. Boev" Date: Sun, 20 Apr 2003 15:34:27 +0700 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by amavisd-new cc: freebsd-ports@freebsd.org Subject: Re: ports/51177: [PATCH] mail/p5-Mail-SpamAssassin fails to install X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Apr 2003 08:33:12 -0000 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...