poudriere and WITH_OPENSSL_PORTS=YES

bw bw.mail.lists at gmail.com
Fri Mar 22 14:00:57 UTC 2013


On 03/22/2013 11:51 AM, bw wrote:
> what's the proper way to do it?
>
> As far as I understand from googling around, and please correct me if
> I'm wrong, the way to compile ports with openssl is, first install
> openssl from ports, then add WITH_OPENSSL_PORTS=YES to make.conf, then
> compile everything that uses openssl. That is, with something like
> portmaster, not poudriere.
>
> I tried adding WITH_OPENSSL_PORTS=YES to poudriere's make.conf, but it
> doesn't pull in openssl as a dependency. I suppose that is because it
> has to be already installed for the ports to see it at compile time and
> use that one instead of base. Which, I suppose, means that I should
> install openssl in poudriere's jail first and remember to upgrade it in
> that jail if needed before compiling stuff when it gets updated.
>
> Is that correct? Is there a better way?

No, it's not correct. Yes, there is. Use WITH_OPENSSL_PORT, not 
WITH_OPENSSL_PORTS. There's no S.

>
> The way I thought it was going to work is add WITH_OPENSSL_PORTS=YES to
> poudriere's make.conf then openssl will be considered a dependency for
> any port that uses it and treated as such by poudriere.

And that's how it does work after you learn to type. Yes, I'm replying 
to myself. I actually did notice the S and corrected it, but made 
another typo in the process. I'll go find a nice and cosy rock now.


More information about the freebsd-ports mailing list