tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/security/openssl



On 11/3/11 1:45 AM, OBATA Akio wrote:
On Thu, 03 Nov 2011 07:51:07 +0900, John Nemeth <jnemeth%netbsd.org@localhost> 
wrote:

Module Name: pkgsrc
Committed By: jnemeth
Date: Wed Nov 2 22:51:07 UTC 2011

Modified Files:
pkgsrc/security/openssl: Makefile options.mk

Log Message:
Add a new threads option which is on by default. The purpose of this is
to allow other packages that can't handle threads to link against this.

How is this going to work? This seems broken because the user will have to know to enable/disable threading on openssl to build a package that depends on it.

I think you need to have an openssl-nothreads package or similar that builds openssl without threads. Then, those packages that need this can depend on the correct version without having the user mess around with options.

Maybe then make the buildlink3.mk of openssl accept both the threaded and nonthreaded version, and make the openssl-nothreads buildlink3.mk only accept the nonthreaded one.

Home | Main Index | Thread Index | Old Index