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.
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to