HEADS UP: ports/ and 10.0-CURRENT
h h
aakuusta at gmail.com
Wed Sep 28 03:28:47 UTC 2011
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
More information about the freebsd-current
mailing list