policy on having the same routines in different library archives?

Anton Shterenlikht mexas at bristol.ac.uk
Wed Feb 2 10:28:18 UTC 2011


I've put a port of Slatec together:
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/151970

Recently I realised that some 110 routines in Slatec
are already present in math/blas, and the Blas versions
seem to be newer.

% ar -t /usr/local/lib/libblas.a | sort > blas.sorted
% ar -t /usr/local/lib/libslatec.a | sort > slatec.sorted
% comm -12 blas.sorted slatec.sorted | wc
     110     110     882
%

I can see benefits and disadvantages of having same
routines in different libraries. Advantages are
that a user can choose to only install Slatec,
with no Blas, and that no fine tuning of the
distribution is required.
Disadvantages could be extra size and potential
for confusion, e.g. when linking against both
libraries.

Is there a FreeBSD ports policy on this?

Many thanks
Anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423


More information about the freebsd-ports mailing list