Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 May 2017 07:42:23 +0000
From:      "Thomas Mueller" <mueller6722@twc.com>
To:        freebsd-current@freebsd.org
Cc:        Ngie Cooper <yaneurabeya@gmail.com>, "Simon J. Gerraty" <sjg@juniper.net>
Subject:   Re: Bug in make setting wrong MAKESYSPATH
Message-ID:  <B7.B7.01815.7ED29295@dnvrco-omsmta03>
References:  <4E.66.25473.9D551295@dnvrco-omsmta03> <81057.1495500066@kaos.jnpr.net> <CAGHfRMCC6KzywEL==_=EoH_JxmQQu2aRsU-tag8pa5M-1UD%2Bcw@mail.gmail.com> <E3.CD.25473.3CCD3295@dnvrco-omsmta03> <95058.1495555282@kaos.jnpr.net> <BF.E8.25473.8AA45295@dnvrco-omsmta03> <24672.1495645494@kaos.jnpr.net> <68.62.09002.EB636295@dnvrco-omsmta01> <38541.1495688881@kaos.jnpr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>From Simon J. Gerraty:

 >> Bug occurs when building or configuring ports, syntax error in
 >> /BETA1/usr/share/mk/bsd.compiler.mk  line 52

 >This is of course specific to your particular arrangement
 >if you'd mounted /BETA1/usr/ports on /usr/ports, it would function as
 >you wish, or if /BETA1/usr/share/mk happend to match /usr/share/mk
 >it would work fine.

 >So, anoying in this case, but not a bug.
        
 >> I don't know about other situations such as building doc.

 >> I could avoid this error either by setting (setenv or export, depending on shell) MAKESYSPATH or
 >> by null-mounting /BETA1/usr/ports at /usr/ports .

 >Yes.

Just because I found a workaround does not mean it is not a bug.

If I were setting up a computer or hard disk from the beginning, I would put ports tree, src tree(s) and doc trees on a separate partition with no FreeBSD installation.

NetBSD pkgsrc and src trees could be installed on same or another partition.

That would facilitate backing up the entire installation (FreeBSD or NetBSD) without backing up the src and other trees, which could be redownloaded by cvs, svn or git, as the case might be.

I guess then I would need to set MAKESYSPATH in FreeBSD ports, or null-mount PORTSDIR at /usr/ports.

If you look at github.com/FreeBSD, you see some modified ports trees that might be installed at, for instance
/freebsd-ports-graphics

Tom




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B7.B7.01815.7ED29295>