On 2022/04/23 14:50, Volker Schlecht wrote:
> > Are the libraries built by arpack-ng,mpi and arpack-ng (unflavoured)
> > interchangeable?
> 
> The -mpi flavour adds a second library, libparpack.so, but doesn't change
> libarpack.so itself.

Great, so in this case it would be more appropriate to remove the
flavour and split into subpackages, see attached tgz. More info in
http://www.openbsd.org/faq/ports/guide.html#Ideal

> > i.e. if you build a dependent port (e.g. math/armadillo) with
> > arpack-ng,mpi installed, does the resulting armadillo package work
> > if run with unflavoured arpack-ng? And are there any changes to
> > build?
> 
> As long math/armadillo only uses libarpack.so, it should be able to get that
> from the flavoured and unflavoured port, no?

Yes, the possible issue I am trying to head off is that if they cause
differences in the build of dependending ports, we need to control which
flavour is installed when other ports are built. Experience has taught
that user-controllable build options in ports which provide libraries
can be a real pain to deal with.

Attachment: arpack-ng.tgz
Description: application/tar-gz

Reply via email to