From owner-freebsd-current@FreeBSD.ORG Wed Sep 28 03:28:47 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E40A106566B for ; Wed, 28 Sep 2011 03:28:47 +0000 (UTC) (envelope-from aakuusta@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5D4058FC13 for ; Wed, 28 Sep 2011 03:28:46 +0000 (UTC) Received: by ywp17 with SMTP id 17so7575325ywp.13 for ; Tue, 27 Sep 2011 20:28:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:references:user-agent :mime-version:content-type; bh=rS9BKrtN/60pB6yxqz2mOfrmlK7orLXNYx790JvnWVs=; b=TconSqCgdeUx03Sc08PHa1mLC0j6ISkVXTvObk7F/rWPeBniBa0ZnM61mpg9CV1JNF Ke39irc9eZ9DB633dxC+YUFqoHW5yTgb3rMbYvv7LLZhQDHg6cjoeZcSM2NQQHT6baz2 akYoJEogGFp4vOyLKcNqbEXchSDBBycL0H1lk= Received: by 10.236.131.106 with SMTP id l70mr52260248yhi.29.1317180526492; Tue, 27 Sep 2011 20:28:46 -0700 (PDT) Received: from nil (tor-exit-router40-readme.formlessnetworking.net. [199.48.147.40]) by mx.google.com with ESMTPS id n67sm36596617yhi.9.2011.09.27.20.28.42 (version=SSLv3 cipher=OTHER); Tue, 27 Sep 2011 20:28:45 -0700 (PDT) From: h h To: Michael Butler Date: Wed, 28 Sep 2011 03:28:21 +0000 Message-ID: <86k48txs4q.fsf@gmail.com> References: <20110926230335.041fd9aa@lab.lovett.com> <8966AE80-51A2-4F3A-8DCD-D8BBEB7D001C@gsoft.com.au> <4E828695.80604@protected-networks.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-current@freebsd.org Subject: Re: HEADS UP: ports/ and 10.0-CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 28 Sep 2011 03:28:47 -0000 Michael Butler writes: > On 09/27/11 02:37, Daniel O'Connor wrote: > >> >> On 27/09/2011, at 13:33, Ade Lovett wrote: >>> That is to say, until 9.0-R happens, and for some considerable period >>> afterwards, ya'll can pretty much expect ports/ to be non-functional on >>> HEAD. PRs mentioning this will be gleefully closed referencing this >>> message. >> >> I imagine you can work around it by setting UNAME_r=9.0-CURRENT before building stuff. > > In some instances, this is insufficient. For multimedia/vlc, adding > "--host=i386-portbld-freebsd9" to "CONFIGURE_ARGS" in the Makefile is > required, multimedia/vlc builds just fine here on 10.0-CURRENT with UNAME_r. I guess you're using sudo(8) which *by default* doesn't preserve environment unlike su(1). Try using `env_keep', `!env_reset' or `-E' # stay away from /stable/9 as far as possible $ export UNAME_r='9.9-BLAH' $ sudo sh -c 'echo $UNAME_r' $ sudo -E sh -c 'echo $UNAME_r' 9.9-BLAH $ su root -c 'echo $UNAME_r' 9.9-BLAH