Date: Wed, 28 Sep 2011 03:28:21 +0000 From: h h <aakuusta@gmail.com> To: Michael Butler <imb@protected-networks.net> Cc: freebsd-current@freebsd.org Subject: Re: HEADS UP: ports/ and 10.0-CURRENT 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86k48txs4q.fsf>