Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Nov 2012 16:06:41 +0400
From:      Boris Samorodov <bsam@passap.ru>
To:        ports@freebsd.org
Subject:   LIB_DEPENDS and a library ABI version
Message-ID:  <509508D1.5060503@passap.ru>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?509508D1.5060503>