Add java_CMD. Although Java programs don't use shebangs, it is sometimes
useful to have a centrally located list of interpreters for other purposes. Approved by: portmgr (mat)
This commit is contained in:
parent
812e0d5713
commit
0d15e5b853
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344338
1 changed files with 3 additions and 1 deletions
|
@ -32,6 +32,8 @@ _INCLUDE_USES_SHEBANGFIX_MK= yes
|
|||
|
||||
bash_OLD_CMD?= /bin/bash
|
||||
bash_CMD?= ${LOCALBASE}/bin/bash
|
||||
java_OLD_CMD?= /usr/bin/java
|
||||
java_CMD?= ${LOCALBASE}/bin/java
|
||||
perl_OLD_CMD?= /usr/bin/perl
|
||||
perl_CMD?= ${LOCALBASE}/bin/perl
|
||||
python_OLD_CMD?= /usr/bin/python
|
||||
|
@ -41,7 +43,7 @@ ruby_CMD?= ${LOCALBASE}/bin/ruby
|
|||
php_OLD_CMD?= /usr/bin/php
|
||||
php_CMD?= ${LOCALBASE}/bin/php
|
||||
|
||||
SHEBANG_LANG+= bash perl python ruby php
|
||||
SHEBANG_LANG+= bash java perl python ruby php
|
||||
|
||||
.for lang in ${SHEBANG_LANG}
|
||||
.if !defined(${lang}_CMD)
|
||||
|
|
Loading…
Reference in a new issue