Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 2013 15:00:48 +0100
From:      bw <bw.mail.lists@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: poudriere and WITH_OPENSSL_PORTS=YES
Message-ID:  <514C6410.6060407@gmail.com>
In-Reply-To: <514C37B4.1040207@gmail.com>
References:  <514C37B4.1040207@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?514C6410.6060407>