Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jan 2025 18:12:57 GMT
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2032059e6d47 - main - Uses/shebangfix.mk: Teach the framework to handle "/bin/env pythonX" shebangs
Message-ID:  <202501161812.50GICvDk010951@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2032059e6d473cdae326e553e4bfb8695ba810af

commit 2032059e6d473cdae326e553e4bfb8695ba810af
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2025-01-16 18:11:08 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-01-16 18:12:53 +0000

    Uses/shebangfix.mk: Teach the framework to handle "/bin/env pythonX" shebangs
    
    Bumped into such shebang in the Plasma KHelpCenter project code.
    
    Sponsored by:   Future Crew, LLC
---
 Mk/Uses/shebangfix.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Mk/Uses/shebangfix.mk b/Mk/Uses/shebangfix.mk
index 9d050cbbcfcc..337cc5bf2343 100644
--- a/Mk/Uses/shebangfix.mk
+++ b/Mk/Uses/shebangfix.mk
@@ -65,6 +65,7 @@ ${lang}_OLD_CMD+= /usr/local/bin/${lang}
 .  endfor
 
 .  for pyver in 2 3
+python_OLD_CMD+= "/bin/env python${pyver}"
 python_OLD_CMD+= "/usr/bin/env python${pyver}"
 python_OLD_CMD+= /bin/python${pyver}
 python_OLD_CMD+= /usr/bin/python${pyver}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501161812.50GICvDk010951>