1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-09 02:22:18 +00:00

databases/ldb2[012]: Unbreak build with python3.8+

PR:		253815
Approved by:	python
This commit is contained in:
Dima Panov 2021-03-03 11:33:15 +00:00
parent e9e6d1d527
commit 5d267a32d7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=567072
3 changed files with 21 additions and 21 deletions

View File

@ -106,14 +106,14 @@ BUILD_DEPENDS+= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/do
USES+= python:build,test
CONFIGURE_ARGS+= --disable-python
.else
USES+= python:3.4+
USES+= gettext-runtime python:3.6+
PLIST_FILES+= include/pyldb.h \
lib/libpyldb-util.so \
lib/libpyldb-util.so.2 \
${PYTHON_SITELIBDIR}/ldb.so \
lib/libpyldb-util${PYTHON_EXT_SUFFIX}.so \
lib/libpyldb-util${PYTHON_EXT_SUFFIX}.so.2 \
${PYTHON_SITELIBDIR}/ldb${PYTHON_EXT_SUFFIX}.so \
${PYTHON_SITELIBDIR}/_ldb_text.py \
${PKGCONFIGDIR}/pyldb-util.pc
${PKGCONFIGDIR}/pyldb-util${PYTHON_EXT_SUFFIX}.pc
.endif
# No fancy color error messages
@ -158,8 +158,8 @@ post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${lib}
.endfor
.if ${PORT_OPTIONS:MPYTHON3} && !defined(NO_PYTHON)
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpyldb-util.so
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/ldb.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpyldb-util*.so
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/ldb*.so
.endif
.include <bsd.port.post.mk>

View File

@ -106,14 +106,14 @@ BUILD_DEPENDS+= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/do
USES+= python:build,test
CONFIGURE_ARGS+= --disable-python
.else
USES+= python:3.4+ gettext-runtime
USES+= gettext-runtime python:3.6+
PLIST_FILES+= include/pyldb.h \
lib/libpyldb-util.so \
lib/libpyldb-util.so.2 \
${PYTHON_SITELIBDIR}/ldb.so \
lib/libpyldb-util${PYTHON_EXT_SUFFIX}.so \
lib/libpyldb-util${PYTHON_EXT_SUFFIX}.so.2 \
${PYTHON_SITELIBDIR}/ldb${PYTHON_EXT_SUFFIX}.so \
${PYTHON_SITELIBDIR}/_ldb_text.py \
${PKGCONFIGDIR}/pyldb-util.pc
${PKGCONFIGDIR}/pyldb-util${PYTHON_EXT_SUFFIX}.pc
.endif
# No fancy color error messages
@ -158,8 +158,8 @@ post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${lib}
.endfor
.if ${PORT_OPTIONS:MPYTHON3} && !defined(NO_PYTHON)
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpyldb-util.so
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/ldb.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpyldb-util*.so
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/ldb*.so
.endif
.include <bsd.port.post.mk>

View File

@ -108,14 +108,14 @@ BUILD_DEPENDS+= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/do
USES+= python:build,test
CONFIGURE_ARGS+= --disable-python
.else
USES+= python:3.4+ gettext-runtime
USES+= gettext-runtime python:3.6+
PLIST_FILES+= include/pyldb.h \
lib/libpyldb-util.so \
lib/libpyldb-util.so.2 \
${PYTHON_SITELIBDIR}/ldb.so \
lib/libpyldb-util${PYTHON_EXT_SUFFIX}.so \
lib/libpyldb-util${PYTHON_EXT_SUFFIX}.so.2 \
${PYTHON_SITELIBDIR}/ldb${PYTHON_EXT_SUFFIX}.so \
${PYTHON_SITELIBDIR}/_ldb_text.py \
${PKGCONFIGDIR}/pyldb-util.pc
${PKGCONFIGDIR}/pyldb-util${PYTHON_EXT_SUFFIX}.pc
.endif
# No fancy color error messages
@ -160,8 +160,8 @@ post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${lib}
.endfor
.if ${PORT_OPTIONS:MPYTHON3} && !defined(NO_PYTHON)
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpyldb-util.so
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/ldb.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpyldb-util*.so
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/ldb*.so
.endif
.include <bsd.port.post.mk>