cvs commit: ports/math/dislin Makefile

Dejan Lesjak dejan.lesjak at ijs.si
Sat Aug 27 19:55:00 GMT 2005


On Saturday 27 of August 2005 21:46, Thierry Thomas wrote:
> Le Sam 27 aoû 05 à 18:30:23 +0200, Kris Kennaway <kris at obsecurity.org>
>
>  écrivait :
> > On Sat, Aug 27, 2005 at 08:14:09AM +0000, Thierry Thomas wrote:
> > > thierry     2005-08-27 08:14:09 UTC
> > >
> > >   FreeBSD ports repository
> > >
> > >   Modified files:
> > >     math/dislin          Makefile
> > >   Log:
> > >   Unbreak on 6.0, thanks to compat5x.
> > >
> > >   Note: the following entry is still required in /etc/libmap.conf:
> > >   libm.so.2               libm.so.3
> >
> > Does this mean that compat5x should also include libm.so.2?
>
> Sorry, my commit is bad: dislin runs on my machine because lim.so.2 was
> installed, but without it, some programs run and some fail, even with an
> entry for libm.so.2 in /etc/libmap.
>
> It installs binaries which depend on libm.so.2:
>
> ldd /usr/local/dislin/bin/disgcl
> /usr/local/dislin/bin/disgcl:
>         libm.so.2 => not found (0x0)
>         libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x281ee000)
>         libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28238000)
>         libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28245000)
>         libc.so.5 => /usr/local/lib/compat/libc.so.5 (0x28306000)
>         libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x283e0000)
>         libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x283e8000)
>
> We could add libm.so.2 to compat5x, but it works if dislin depends also
> on compat4x.

Depending on compat4x would probably be preferable since otherwise compat4x 
and compat5x would conflict (apart from libm.so.2 not being present on 
FreeBSD 5.4).
If I understand correctly, dislin has FreeBSD 5.1 binaries and at that version 
libm was not yet bumped - IIRC libm version got bumped shortly before FreeBSD 
5.3 was released as first stable release from 5 branch. So this seems as one 
unfortunate consequence of 5.x history.


Dejan


More information about the cvs-ports mailing list