Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Force use of GNU Make on FreeBSD #77

Merged
merged 1 commit into from

2 participants

@olgeni

The Makefile is not compatible with BSD make, and will produce the
following error when used on FreeBSD:

Error expanding embedded variable.
ERROR: Command [compile] failed!

Also, os:type/0 will probably never return a generic "bsd" as the
operating system: according to os(3), the value from "uname -s" will be
used.

@olgeni olgeni Force use of GNU Make on FreeBSD
The Makefile is not compatible with BSD make, and will produce the
following error when used on FreeBSD:

  Error expanding embedded variable.
  ERROR: Command [compile] failed!

Also, os:type/0 will probably never return a generic "bsd" as the
operating system: according to os(3), the value from "uname -s" will be
used.
9a14ae9
@kostis
Collaborator

Thanks for testing PropEr on FreeBSD and for your patch.

@kostis kostis merged commit a35edaf into manopapad:master
@olgeni olgeni deleted the olgeni:bsdmake branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 27, 2013
  1. @olgeni

    Force use of GNU Make on FreeBSD

    olgeni authored
    The Makefile is not compatible with BSD make, and will produce the
    following error when used on FreeBSD:
    
      Error expanding embedded variable.
      ERROR: Command [compile] failed!
    
    Also, os:type/0 will probably never return a generic "bsd" as the
    operating system: according to os(3), the value from "uname -s" will be
    used.
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 1 deletion.
  1. +2 −1  rebar.config
View
3  rebar.config
@@ -33,6 +33,7 @@
warn_obsolete_guard, warn_unused_import,
warn_missing_spec, warn_untyped_record]}.
-{pre_hooks, [{"(linux|bsd|darwin|solaris)", compile, "make include/compile_flags.hrl"},
+{pre_hooks, [{"(linux|darwin|solaris)", compile, "make include/compile_flags.hrl"},
+ {"(freebsd|netbsd|openbsd)", compile, "gmake include/compile_flags.hrl"},
{"win32", compile, "escript.exe write_compile_flags include/compile_flags.hrl"}]}.
{post_hooks, [{clean, "./clean_doc.sh"}]}.
Something went wrong with that request. Please try again.