diff options
Diffstat (limited to 'Mk/Uses/shebangfix.mk')
-rw-r--r-- | Mk/Uses/shebangfix.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Mk/Uses/shebangfix.mk b/Mk/Uses/shebangfix.mk index 5ef46388fcf8..14443dc32a79 100644 --- a/Mk/Uses/shebangfix.mk +++ b/Mk/Uses/shebangfix.mk @@ -40,7 +40,11 @@ perl_CMD?= ${LOCALBASE}/bin/perl php_OLD_CMD?= /usr/bin/php php_CMD?= ${LOCALBASE}/bin/php python_OLD_CMD?= /usr/bin/python +.if ${USES:Mpython*} +python_CMD?= ${PYTHON_CMD} +.else python_CMD?= ${LOCALBASE}/bin/python +.endif ruby_OLD_CMD?= /usr/bin/ruby ruby_CMD?= ${LOCALBASE}/bin/ruby tcl_OLD_CMD?= /usr/bin/tclsh |