From 1682abb97aaba644d1d30a521b8db4997629189d Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Thu, 30 Apr 2020 19:25:59 +0000 Subject: [PATCH] net-p2p/libtorrent-rasterbar: Fix the python path for tests It was an overly-broad regexp substitution. PR: 246045 Submitted by: daniel.engberg.lists@pyret.net (original version) --- net-p2p/libtorrent-rasterbar/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-p2p/libtorrent-rasterbar/Makefile b/net-p2p/libtorrent-rasterbar/Makefile index 31a9dcc22c72..25fcb4677e5b 100644 --- a/net-p2p/libtorrent-rasterbar/Makefile +++ b/net-p2p/libtorrent-rasterbar/Makefile @@ -57,7 +57,7 @@ USES+= compiler:c++11-lang post-patch: @${REINPLACE_CMD} -e 's|/usr/local/include|${PREFIX}/include|' \ ${WRKSRC}/Jamfile - @${REINPLACE_CMD} -e 's|python|${PYTHON_CMD}|' \ + @${REINPLACE_CMD} -e 's|return "python";|return "${PYTHON_CMD}";|' \ ${WRKSRC}/test/setup_transfer.cpp post-install: