mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
databases/mdbx: consistency fix, use INSTALL_DATA
Replace every PORTVERSION to DISTVERSION after previous commit. Use INSTALL_DATA to install static libraries. Reported by: diizzy (email) Approved by: portmgr (blanket)
This commit is contained in:
parent
bf7660ac5d
commit
9fd243c061
@ -18,12 +18,12 @@ USE_LDCONFIG= yes
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
PLIST_SUB= VERSION=${PORTVERSION}
|
||||
PLIST_SUB= VERSION=${DISTVERSION}
|
||||
|
||||
post-install:
|
||||
${CP} ${BUILD_WRKSRC}/libmdbx-static.a ${STAGEDIR}${PREFIX}/lib/libmdbx.a
|
||||
${MV} ${STAGEDIR}${PREFIX}/lib/libmdbx.so ${STAGEDIR}${PREFIX}/lib/libmdbx.so.${PORTVERSION}
|
||||
${RLN} libmdbx.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libmdbx.so
|
||||
${RLN} libmdbx.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libmdbx.so.0
|
||||
${INSTALL_DATA} ${BUILD_WRKSRC}/libmdbx-static.a ${STAGEDIR}${PREFIX}/lib/libmdbx.a
|
||||
${MV} ${STAGEDIR}${PREFIX}/lib/libmdbx.so ${STAGEDIR}${PREFIX}/lib/libmdbx.so.${DISTVERSION}
|
||||
${RLN} libmdbx.so.${DISTVERSION} ${STAGEDIR}${PREFIX}/lib/libmdbx.so
|
||||
${RLN} libmdbx.so.${DISTVERSION} ${STAGEDIR}${PREFIX}/lib/libmdbx.so.0
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user