From owner-freebsd-ports@FreeBSD.ORG Fri Jan 16 18:14:34 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 885284B6 for ; Fri, 16 Jan 2015 18:14:34 +0000 (UTC) Received: from nskntmtas02p.mx.bigpond.com (nskntmtas02p.mx.bigpond.com [61.9.168.140]) by mx1.freebsd.org (Postfix) with ESMTP id 1FCE3959 for ; Fri, 16 Jan 2015 18:14:33 +0000 (UTC) Received: from nskntcmgw06p ([61.9.169.166]) by nskntmtas02p.mx.bigpond.com with ESMTP id <20150116181431.LSOO2564.nskntmtas02p.mx.bigpond.com@nskntcmgw06p>; Fri, 16 Jan 2015 18:14:31 +0000 Received: from hermes.heuristicsystems.com.au ([203.41.22.114]) by nskntcmgw06p with BigPond Outbound id giEX1p0052ThMyb01iEXW3; Fri, 16 Jan 2015 18:14:31 +0000 X-Authority-Analysis: v=2.0 cv=RsdH3VaK c=1 sm=1 a=tBIanQelQkU72CJWnm+MWA==:17 a=XD52yEjQpfAA:10 a=N659UExz7-8A:10 a=GHIR_BbyAAAA:8 a=YNv0rlydsVwA:10 a=6I5d2MoRAAAA:8 a=91Zby0LSKAuKkccFJVoA:9 a=pILNOxqGKmIA:10 a=tBIanQelQkU72CJWnm+MWA==:117 Received: from [10.0.5.3] (ewsw01.hs [10.0.5.3]) (authenticated bits=0) by hermes.heuristicsystems.com.au (8.14.5/8.13.6) with ESMTP id t0GIDxiG096926 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sat, 17 Jan 2015 05:14:03 +1100 (EST) (envelope-from dewayne.geraghty@heuristicsystems.com.au) Message-ID: <54B954E4.8080507@heuristicsystems.com.au> Date: Sat, 17 Jan 2015 05:13:56 +1100 From: Dewayne Geraghty User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: papowell@astart.com, freebsd-ports@freebsd.org Subject: Re: BIND REPLACE_BASE option References: <2A3ABE9AE68B3CE8E1B7C1A1@ogg.in.absolight.net> <20150113163324.299F27E9@hub.freebsd.org> <20150114080033.GE33449@droso.dk> <20150114153427.63AD7C0A@hub.freebsd.org> <54B696BF.5020901@FreeBSD.org> <20150114163443.280B1ED9@hub.freebsd.org> <20150115084803.GM33449@droso.dk> <20150115170017.3CB64A96@hub.freebsd.org> <54B9336D.6090901@astart.com> In-Reply-To: <54B9336D.6090901@astart.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jan 2015 18:14:34 -0000 On 17/01/2015 2:51 AM, Patrick Powell wrote: > On 01/15/15 09:00, Roger Marquis wrote: >>> This sounds like you, like many other people have done in the past, >>> have >>> built an in-house solution based on the tools available at the time, >>> which includes 'make package' >> >> I wouldn't call it an in-house solution since the package target is a >> feature of the ports infrastructure. We simply 'make package' and >> install other systems from the resulting package. >> >> This does not, however, appear to be as well supported by portsng/pkgng >> as it was in the previous versions. Now it just exits with no message >> and a 0 exit-code without creating the package unless you've created >> /usr/ports/packages and/or specified one or more of WRKDIRPREFIX, >> PACKAGES and PKGREPOSITORY. >> >> What documentation there is seems to be based on older versions (like >> much of the FreeBSD website) and I haven't found anything on the >> differences between 'make package' and Poudriere. >> >> Roger >> _______________________________________________ >> freebsd-ports@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-ports >> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >> > This is actually a side effect of the STAGING implementation. The > package file is put into the > port (created) work sub directory. Now if I could only find the > documentation that tells me how to put, say, > WORK_DIRECTORY=/var/tmp/work into the /etc/make.conf file or > something similar I would be > a very (well, not so grumpy) happy camper. I read this somewhere once > but I cannot find > it again. WRKDIRPREFIX? WORKDIRPREFIX? > Patrick, We have these in make.conf that may help with your research WRKDIRPREFIX= /var/ports DISTDIR= /usr/distfiles TMPDIR= /tmp PACKAGES= /packages STAGEDIR= /usr/staging which we've used for many years. Only STAGEDIR was recently added. Its a great aid when you commence a rebuild to just rm -R /usr/staging /var/ports/usr Regards, Dewayne. -- For the talkers: “The superior man acts before he speaks, and afterwards speaks according to his action.” For everyone else: “Life is really simple, but we insist on making it complicated.”