Lsof port can't build (again)

Jonathan Chen jonc at chen.org.nz
Wed Jun 17 03:21:05 UTC 2020


On Wed, 17 Jun 2020 at 15:11, @lbutlr <kremels at kreme.com> wrote:
>
> On 16 Jun 2020, at 06:40, Mike Bristow <mike at urgle.com> wrote:
> > What is the output of "egrep '^(TYPE|REVISION|BRANCH)' /usr/src/sys/conf/newvers.sh" ?
>
> Well, this seems like it might be bad:
>
> # egrep '^(TYPE|REVISION|BRANCH)' /usr/src/sys/conf/newvers.sh
> TYPE="FreeBSD"
> REVISION="13.0"
> BRANCH=${BRANCH_OVERRIDE:-CURRENT}
>
> > How do you maintain the src tree on your machine?
>
> svn checkout https://svn.FreeBSD.org/base/head /usr/src
>
> And
>
> cd /usr/src
> make update SVN_UPDATE=yes
>
> Needless to say, I was expecting that checkout would give me 12.1, but I don't see how to get that.

It's in the handbook:
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/svn.html

So for 12-stable, you should be using:
svn checkout https://svn.freebsd.org/base/stable/12 /usr/src

-- 
Jonathan Chen <jonc at chen.org.nz>


More information about the freebsd-ports mailing list