From owner-freebsd-ports@FreeBSD.ORG Sat Mar 12 20:39:13 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 98B6F1065673 for ; Sat, 12 Mar 2011 20:39:13 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from doug-optiplex.ka9q.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id E800C20052A; Sat, 12 Mar 2011 20:38:06 +0000 (UTC) Message-ID: <4D7BD9AE.5030609@FreeBSD.org> Date: Sat, 12 Mar 2011 12:38:06 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110304 Thunderbird/3.1.9 MIME-Version: 1.0 To: Subbsd References: In-Reply-To: X-Enigmail-Version: 1.1.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ports-list freebsd Subject: Re: some ports doesn't build with non standard WRKDIRPREFIX X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2011 20:39:13 -0000 On 03/12/2011 00:37, Subbsd wrote: > Hi. > > Ive have server with huge of RAM (32 GB) and after mounting tmpfs on > /tmp try use it for more faster port building. Most of the ports work > when set WRKDIRPREFIX="/tmp/ports" in /etc/make.conf is magnificently. > But part of ports not, for example: /usr/ports/devel/ode > > % make -V WRKDIRPREFIX -C/usr/ports/devel/ode > "/tmp/ports" > > % make -C/usr/ports/devel/ode extract > make: don't know how to make > /tmp/ports/usr/ports/devel/ode/work/.extract_done.ode._usr_local. Stop > *** Error code 2 > > Stop in /usr/ports/devel/ode. > > > Why might this happen? Some Makefile have bsd.{pre|post}.mk and some - > bsd.port.mk - that's all difference i see. I have WRKDIRPREFIX set and I don't have the same problem you have; whether I use -C or cd into the directory. Perhaps you have some other make variables that are affecting this? -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/