LIB_DEPENDS and a library ABI version

Boris Samorodov bsam at passap.ru
Sat Nov 3 12:06:44 UTC 2012


Hi All,

what's the right way to determine ABI version number (and specify
it at a port)?

For textproc/goldendict portlint suggests:
-----
LIB_DEPENDS=hunspell-1:${PORTSDIR}/textproc/hunspell
-----

The library itself is:
-----
% ls -l /usr/local/lib/libhunspell-1.3.*so*
lrwxr-xr-x  1 root  wheel      20 28 авг 23:41
/usr/local/lib/libhunspell-1.3.so -> libhunspell-1.3.so.0
-rwxr-xr-x  1 root  wheel  368752 28 авг 23:41
/usr/local/lib/libhunspell-1.3.so.0
-----

Should I use "LIB_DEPENDS=hunspell-1.3:..." (since only 0
is after .so?

Some libraries seems to place .so suffix at a random position:
-----
libspreadsheet-1.10.17.so
liblua-5.1.so.1
libwx_base-2.8.so.0.8.0
-----

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve


More information about the freebsd-ports mailing list