From owner-freebsd-current@FreeBSD.ORG Fri Nov 30 17:30:58 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8D23219E; Fri, 30 Nov 2012 17:30:58 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by mx1.freebsd.org (Postfix) with ESMTP id D664B8FC0C; Fri, 30 Nov 2012 17:30:57 +0000 (UTC) Received: by mail-wi0-f170.google.com with SMTP id hq7so6250454wib.1 for ; Fri, 30 Nov 2012 09:30:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=6DJgrKbeoHa4z6qN8TzEKP9GSSSwBfU7oneAt2JwgJ0=; b=diVahVeagqBR9Mj0WdLBLyclc9jHE+X9WdMGVEmksvl5VbtRRS2sXwoCRRRLn5DyjJ Ij9vZgaPvuCtx5+V5fxH2cvjcYnzojKmTsfKoW49CvbWmAUacRuURq4QObC5o9rm8nFD tvf4fT+q9sC1d0d7JtzPO+hi0A/JXlK2IvZlHb0QyCGLKCcldHCPnhfDQHT/lcEjhqoS s6BdNdZFOwpe9sL+4E4tD1umz2kD/tSZGs4Tyeb6btpSKMJvBYHXqHON38TYZiT6fQoG XlJS81TPZzBghgzENIXpgHGIQaVNTbRw6cjI2E0Tgzhid0aujccujT27f4mMlmz+kgYI Tnyg== MIME-Version: 1.0 Received: by 10.216.200.160 with SMTP id z32mr758518wen.53.1354296656878; Fri, 30 Nov 2012 09:30:56 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.217.57.9 with HTTP; Fri, 30 Nov 2012 09:30:56 -0800 (PST) In-Reply-To: <1354288503.69940.410.camel@revolution.hippie.lan> References: <6961B0D9-F823-415C-A105-7DAC8339CB30@gmail.com> <3EB9F7EB-D9C8-40CB-BF28-21B7BE59C94C@gmail.com> <20121128071252.7AC1958094@chaos.jnpr.net> <20121128231538.8AB6758094@chaos.jnpr.net> <20121129000106.540ED58094@chaos.jnpr.net> <1354288503.69940.410.camel@revolution.hippie.lan> Date: Fri, 30 Nov 2012 09:30:56 -0800 X-Google-Sender-Auth: RZFRRjQ0Ph2thJ3Y65uCNJXKR-c Message-ID: Subject: Re: Is cross-world building broken? From: Adrian Chadd To: Ian Lepore Content-Type: text/plain; charset=ISO-8859-1 Cc: Garrett Cooper , Andrew Turner , FreeBSD Current , "Simon J. Gerraty" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Nov 2012 17:30:58 -0000 So, DESTDIR works fine if you use it for the install phases. If you use it for the build phases, it confuses things. I'm not sure why this has been working for the past 12 months or so. I've modified my build scripts to: * Add DESTDIR to installkernel, installworld, distribution * Not set DESTDIR for buildworld, buildkernel. And that seems to work. Thanks for the advice everyone. Adrian