1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

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)
This commit is contained in:
Yuri Victorovich 2020-04-30 19:25:59 +00:00
parent af70ac29a1
commit 1682abb97a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=533469

View File

@ -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: