elixir: Use 'gmake' when compiling native libraries on NetBSD

Bump PKGREVISION
This commit is contained in:
nia 2020-09-11 15:05:06 +00:00
parent a7e4448b06
commit e0836037ec
3 changed files with 19 additions and 2 deletions

View file

@ -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}

View file

@ -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

View file

@ -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"
_ ->