databases/leveldb: Use hard-coded shlib version

It helps remind maintainer to bump PORTREVISION of dependent ports.
This commit is contained in:
Po-Chuan Hsieh 2024-04-20 22:22:13 +08:00
parent 2c15a70e0a
commit 6ded29b052
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ CMAKE_TESTING_ON= LEVELDB_BUILD_TESTS
USE_CXXSTD= c++11 USE_CXXSTD= c++11
USE_LDCONFIG= yes USE_LDCONFIG= yes
PLIST_SUB= PORTVERSION=${PORTVERSION} SHLIB_VER=${PORTVERSION:R} PLIST_SUB= PORTVERSION=${PORTVERSION}
GH_ACCOUNT= google GH_ACCOUNT= google
USE_GITHUB= yes USE_GITHUB= yes

View file

@ -19,6 +19,6 @@ lib/cmake/leveldb/leveldbTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/leveldb/leveldbTargets.cmake lib/cmake/leveldb/leveldbTargets.cmake
lib/libleveldb.a lib/libleveldb.a
lib/libleveldb.so lib/libleveldb.so
lib/libleveldb.so.%%SHLIB_VER%% lib/libleveldb.so.1
lib/libleveldb.so.%%PORTVERSION%%.0 lib/libleveldb.so.%%PORTVERSION%%.0
%%DATADIR%%/build_config.mk %%DATADIR%%/build_config.mk