git: c6fbce7f2c5c - main - multimedia/onevpl: disable nop PYTHON=off substitution
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 15 Nov 2021 13:05:37 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=c6fbce7f2c5cb46b7b4e0bcfbea33274bef38138 commit c6fbce7f2c5cb46b7b4e0bcfbea33274bef38138 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2021-11-15 13:04:39 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2021-11-15 13:05:15 +0000 multimedia/onevpl: disable nop PYTHON=off substitution --- multimedia/onevpl/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/multimedia/onevpl/Makefile b/multimedia/onevpl/Makefile index e3911ac2ea58..24d1bf33a9eb 100644 --- a/multimedia/onevpl/Makefile +++ b/multimedia/onevpl/Makefile @@ -31,8 +31,6 @@ PYTHON_BUILD_DEPENDS= pybind11>0:devel/pybind11 PYTHON_CMAKE_BOOL= BUILD_PYTHON_BINDING post-patch: - @${REINPLACE_CMD} -e 's/python/&${PYTHON_VER}/' \ - ${WRKSRC}/preview/python/binding/CMakeLists.txt @${REINPLACE_CMD} -e '/pkgconfig/s,FULL_LIBDIR},PREFIX}/libdata,' \ ${WRKSRC}/dispatcher/CMakeLists.txt @${REINPLACE_CMD} -e 's,/usr,${PREFIX},' \ @@ -40,6 +38,10 @@ post-patch: @${REINPLACE_CMD} -e '/PKG_CONFIG/s,_lib,_prefix/libdata,' \ ${WRKSRC}/modulefiles/vpl +post-patch-PYTHON-on: + @${REINPLACE_CMD} -e '/LIBDIR/s/python/&${PYTHON_VER}/' \ + ${WRKSRC}/preview/python/binding/CMakeLists.txt + post-install: @${FIND} ${STAGEDIR} -name \*.orig -delete