Re: HEADS UP: ports/ and 10.0-CURRENT

From: h h <aakuusta_at_gmail.com>
Date: Wed, 28 Sep 2011 03:28:21 +0000
Michael Butler <imb_at_protected-networks.net> 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
Received on Wed Sep 28 2011 - 01:28:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:18 UTC