Date: Sat, 15 Feb 2014 09:20:54 +0000 (UTC) From: Dag-Erling Smørgrav <des@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r344338 - head/Mk/Uses Message-ID: <201402150920.s1F9Ksvl023779@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: des Date: Sat Feb 15 09:20:53 2014 New Revision: 344338 URL: http://svnweb.freebsd.org/changeset/ports/344338 QAT: https://qat.redports.org/buildarchive/r344338/ Log: 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) Modified: head/Mk/Uses/shebangfix.mk Modified: head/Mk/Uses/shebangfix.mk ============================================================================== --- head/Mk/Uses/shebangfix.mk Sat Feb 15 09:13:16 2014 (r344337) +++ head/Mk/Uses/shebangfix.mk Sat Feb 15 09:20:53 2014 (r344338) @@ -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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402150920.s1F9Ksvl023779>