summaryrefslogtreecommitdiff
path: root/lang/elixir
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-09-11 15:05:06 +0000
committernia <nia@pkgsrc.org>2020-09-11 15:05:06 +0000
commitd387be01928e26f9f3d922d38a74ccb5126f546b (patch)
treef1ee097e6cf500d05a0a47b1e003c38d7b41a322 /lang/elixir
parentad919b51d4a78ac84c1e5b9cb772812df7df40b6 (diff)
downloadpkgsrc-d387be01928e26f9f3d922d38a74ccb5126f546b.tar.gz
elixir: Use 'gmake' when compiling native libraries on NetBSD
Bump PKGREVISION
Diffstat (limited to 'lang/elixir')
-rw-r--r--lang/elixir/Makefile3
-rw-r--r--lang/elixir/distinfo3
-rw-r--r--lang/elixir/patches/patch-lib_mix_lib_mix_tasks_deps.compile.ex15
3 files changed, 19 insertions, 2 deletions
diff --git a/lang/elixir/Makefile b/lang/elixir/Makefile
index 6f30d839de4..f27a9737ea5 100644
--- a/lang/elixir/Makefile
+++ b/lang/elixir/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.18 2020/07/07 11:34:29 nia Exp $
+# $NetBSD: Makefile,v 1.19 2020/09/11 15:05:06 nia Exp $
DISTNAME= elixir-1.10.4
+PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GITHUB:=elixir-lang/}
GITHUB_TAG= v${PKGVERSION_NOREV}
diff --git a/lang/elixir/distinfo b/lang/elixir/distinfo
index 19f25f00652..2ba80754677 100644
--- a/lang/elixir/distinfo
+++ b/lang/elixir/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.15 2020/07/07 11:34:29 nia Exp $
+$NetBSD: distinfo,v 1.16 2020/09/11 15:05:06 nia Exp $
SHA1 (elixir-1.10.4.tar.gz) = d8634700f61c72c0e97f1a212919803a86016d2a
RMD160 (elixir-1.10.4.tar.gz) = b94bce2d3a08c05dd207241f12624b25f7cbed67
SHA512 (elixir-1.10.4.tar.gz) = 844e405cf344539a9d32dc7f1ead0dc1dfb0d70a9ab718269f4e25e5262f611f96346f5be93cf8e34a75c58c6aabb12e8a796c5cb182955922510c270ef169e7
Size (elixir-1.10.4.tar.gz) = 2331003 bytes
SHA1 (patch-Makefile) = 00a68538bae40effba33fc3bc5019fdbf38a91f3
+SHA1 (patch-lib_mix_lib_mix_tasks_deps.compile.ex) = 7c153d68f5b936e55b17a139c4a133b87c8d799a
diff --git a/lang/elixir/patches/patch-lib_mix_lib_mix_tasks_deps.compile.ex b/lang/elixir/patches/patch-lib_mix_lib_mix_tasks_deps.compile.ex
new file mode 100644
index 00000000000..0fa1af4b8d5
--- /dev/null
+++ b/lang/elixir/patches/patch-lib_mix_lib_mix_tasks_deps.compile.ex
@@ -0,0 +1,15 @@
+$NetBSD: patch-lib_mix_lib_mix_tasks_deps.compile.ex,v 1.1 2020/09/11 15:05:06 nia Exp $
+
+make on NetBSD is also BSD make.
+
+--- lib/mix/lib/mix/tasks/deps.compile.ex.orig 2020-07-04 11:10:47.000000000 +0000
++++ lib/mix/lib/mix/tasks/deps.compile.ex
+@@ -244,7 +244,7 @@ defmodule Mix.Tasks.Deps.Compile do
+ {:win32, _} when makefile_win? ->
+ "nmake /F Makefile.win"
+
+- {:unix, type} when type in [:freebsd, :openbsd] ->
++ {:unix, type} when type in [:freebsd, :netbsd, :openbsd] ->
+ "gmake"
+
+ _ ->