Re: HEADS UP: ports/ and 10.0-CURRENT
Michael Butler <imb@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
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 29 之 52 篇):