Date: Thu, 24 Aug 2017 13:39:50 +1200 From: Jonathan Chen <jonc@chen.org.nz> To: Thomas Mueller <mueller6722@twc.com> Cc: freebsd-ports@freebsd.org Subject: Re: Synth and circular dependencies Message-ID: <CAJuc1zPg5y7kHPDWHfrLc3F7Obi9ZSkg48oEEQhF-_W55oi4_w@mail.gmail.com> In-Reply-To: <75.0B.31699.8FB0E995@dnvrco-omsmta03> References: <30.03.31699.752AB995@dnvrco-omsmta03> <CAJuc1zOvS51-MsVqcwAfMGYoeNV46wZm5agNecM6o3u2WL_rrQ@mail.gmail.com> <201708220330.v7M3UJeJ026761@gw.catspoiler.org> <20170822122523.28de2ad2@gumby.homeunix.com> <F9.8A.25924.960DB995@dnvrco-omsmta02> <CAJuc1zN=uUSvna8b10vJoSQ%2B5G4HzSYELN_4HoyN4DD5TzejhA@mail.gmail.com> <8B.5A.25924.D54EC995@dnvrco-omsmta02> <CE1299E9-B6D1-4D03-84E7-348D4BAC2D64@adamw.org> <E9.26.08177.5AE1D995@dnvrco-omsmta01> <CAJuc1zNzr-%2BzX_9-2Hobvf6JfCqx1Hx%2BX_jcd2dPC_90gbzMAQ@mail.gmail.com> <75.0B.31699.8FB0E995@dnvrco-omsmta03>
next in thread | previous in thread | raw e-mail | index | archive | help
On 24 August 2017 at 11:12, Thomas Mueller <mueller6722@twc.com> wrote: >> > I can run "synth status ..." on desired packages to see before running if the options are compatible. > >> My 2 cents worth: the port maintainers usually do a good job of >> choosing sensible default options. I would just move everything out of >> /var/db/ports/ and see what a "synth upgrade-system" comes back with. >> My LiveSystem-make.conf only contains a handful of lines where I >> disagree with the port maintainers' choices. > >> Cheers. > >> Jonathan Chen <jonc@chen.org.nz> > > I could start from scratch on the options but not deleting packages already installed. > > But it seems more cumbersome with "make PORT_DBDIR=... showconfig" than with "make show-options" and "make show depends-options" in NetBSD with pkgsrc. Or maybe I'm spoiled? > > Does synth look for options in /etc/make.conf, or only in /usr/local/etc/synth/LiveSystem-make.conf ? synth doesn't look at /etc/make.conf. When it is building, it uses the options from /usr/local/etc/synth/LiveSystem-make.conf. > From "man synth" > > Port options directory This is the directory where all the selected > options for ports are cached. The initial > value comes from a system scan, so chances are > it has the correct value. However, if the user > would like a separate configuration area for > port options, they would create the new direc- > tory and set this value accordingly (but the > user would have to ensure the new location is > passed to the port when configuring port > options later in that case). > > Do the options have to be in /var/db/ports format, which I want to avoid at all cost? Or is the LiveSystem-make.conf and /etc/make.conf good enough? synth will inspect the specified ports-options directory for options in /var/db/ports format. This allows new users to immediately use synth without having to configure anything. > Just to see what would happen, I don't think I need to run "synth upgrade-system". "synth status" might be good enough. Yup, you're right. Cheers. -- Jonathan Chen <jonc@chen.org.nz>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJuc1zPg5y7kHPDWHfrLc3F7Obi9ZSkg48oEEQhF-_W55oi4_w>