pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/elixir Make bin/mix works.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/09e170aabbbb
branches:  trunk
changeset: 334332:09e170aabbbb
user:      yyamano <yyamano%pkgsrc.org@localhost>
date:      Thu May 23 23:42:27 2019 +0000

description:
Make bin/mix works.
shebang doesn't work if an interpreter is a shell script.
See http://mail-index.netbsd.org/tech-pkg/2019/05/21/msg021312.html

diffstat:

 lang/elixir/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r e7c03434221b -r 09e170aabbbb lang/elixir/Makefile
--- a/lang/elixir/Makefile      Thu May 23 19:22:54 2019 +0000
+++ b/lang/elixir/Makefile      Thu May 23 23:42:27 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2018/11/09 17:17:28 nia Exp $
+# $NetBSD: Makefile,v 1.11 2019/05/23 23:42:27 yyamano Exp $
 
 DISTNAME=              elixir-1.7.4
+PKGREVISION=           1
 CATEGORIES=            lang
 MASTER_SITES=          ${MASTER_SITE_GITHUB:=elixir-lang/}
 GITHUB_TAG=            v${PKGVERSION_NOREV}
@@ -16,7 +17,7 @@
 
 REPLACE_INTERPRETER+=  elixir
 REPLACE.elixir.old=    .*elixir
-REPLACE.elixir.new=    ${PREFIX}/bin/elixir
+REPLACE.elixir.new=    ${TOOLS_PLATFORM.env} ${PREFIX}/bin/elixir
 REPLACE_FILES.elixir=  bin/mix
 
 BUILD_TARGET=          compile



Home | Main Index | Thread Index | Old Index