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

Re: Bug#815403: erlang-proper: FTBFS on kfreebsd: sh: 1: exec: gmake: not found



tags 815403 + patch
user debian-bsd@lists.debian.org
usertags 815403 + kfreebsd
thanks

Hi,

Andreas Beckmann wrote:
> sh: 1: exec: gmake: not found
> ERROR: Command [compile] failed!
> make[2]: *** [rebar_compile] Error 1

The following patch would work around this in the Debian package, but
I'd like to know where the "linux" or "freebsd" detection happens (in
some other package?).  Probably we could change that to treat
GNU/kFreeBSD as "linux" or a "gnu" OS rather than as "freebsd":

--- rebar.config.orig   2015-07-24 17:24:26.000000000 +0100
+++ rebar.config        2016-02-21 14:41:39.932946976 +0000
@@ -34,6 +34,6 @@
            warn_missing_spec, warn_untyped_record]}.
 
 {pre_hooks, [{"(linux|darwin|solaris|gnu)", compile, "make include/compile_flags.hrl"},
-             {"(freebsd|netbsd|openbsd)", compile, "gmake include/compile_flags.hrl"},
+             {"(freebsd|netbsd|openbsd)", compile, "make include/compile_flags.hrl"},
                {"win32", compile, "escript.exe write_compile_flags include/compile_flags.hrl"}]}.
 {post_hooks, [{clean, "./clean_doc.sh"}]}.

Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org

Attachment: signature.asc
Description: Digital signature


Reply to: