Date: Tue, 25 Jul 2017 10:56:51 +0700 From: Victor Sudakov <vas@mpeks.tomsk.su> To: Matthew Seaman <matthew@FreeBSD.org> Cc: freebsd-pkg@freebsd.org Subject: Re: poudriere sets Message-ID: <20170725035651.GA67604@admin.sibptus.transneft.ru> In-Reply-To: <c3f9c321-0991-7426-28b1-782f19326cc5@FreeBSD.org> References: <20170724035252.GA41383@admin.sibptus.transneft.ru> <c3f9c321-0991-7426-28b1-782f19326cc5@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Seaman wrote:
> > If I want to have two different sets, "-z foo" and "-z bar" with
> > exactly the same build options but different make.conf variables,
> > is a symlink from /usr/local/etc/poudriere.d/foo-options to
> > /usr/local/etc/poudriere.d/bar-options a good idea?
>
> That should work fine. I've used this trick without problems.
Thank you!
>
> Or if all your different package sets should use the same options, then
> don't have any /usr/local/etc/poudriere.d/{$set}-options directories,
> but only a /usr/local/etc/poudriere.d/options directory.
This is what would happen if you never run 'poudriere options -z foo',
but that's not my use case.
> > I don't see any references to the set name inside the
> > /usr/local/etc/poudriere.d/*-options/*/options files, so there should
> > be no problem, right? It won't break anything, will it?
>
> I also linked /usr/local/etc/poudriere.d/options to /var/db/options when
> I first started using poudriere.
You probably mean "/var/db/ports" ?
> I thought I'd want to build the
> occasional port outside of poudriere at the time, and wanted to keep the
> same options if I did. Turns out that I never really need to do that
> now, but it does have one small benefit. I can just run 'make options'
> in my ports tree, and it sets options for the poudriere builds.
Yes, a nice feature.
--
Victor Sudakov, VAS4-RIPE, VAS47-RIPN
AS43859
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170725035651.GA67604>
