1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/editors/vim
Sunpoet Po-Chuan Hsieh 01544f6d9d Fix stage-qa of shebang with PYTHON option disabled after r522484
The error message (in poudriere) is as follows:
====> Running Q/A tests (stage-qa)
Error: '/usr/local/bin/python' is an invalid shebang you need USES=shebangfix for 'share/vim/vim82/tools/demoserver.py.bak'

r522484 adds a new REINPLACE_CMD check which is enabled when DEVELOPER=yes. It
does not respect REINPLACE_ARGS (-i ''), thus runtime/tools/demoserver.py.bak is
generated. Vim installs everything in runtime/tools [1] which fails in stage-qa
for invalid shebang.

This workaround uses USES=python:env. It will replace the shebang with default
python (/usr/local/bin/python3.7).

[1] from src/Makefile:
# install the runtime tools
	$(INSTALL_DATA_R) $(TOOLSSOURCE)/* $(DEST_TOOLS)

PR:		243961
Reported by:	salvadore
Submitted by:	sunpoet (myself)
Approved by:	adamw (maintainer)
2020-02-10 18:47:23 +00:00
..
files vim: Simplify patch 2019-08-03 17:33:02 +00:00
distinfo vim: Update to patchlevel 205 and add PYTHON option 2020-02-04 14:03:00 +00:00
Makefile Fix stage-qa of shebang with PYTHON option disabled after r522484 2020-02-10 18:47:23 +00:00
pkg-descr
pkg-plist