From 8069dc89e0bf2925c0fcca8b08cab9d323032d00 Mon Sep 17 00:00:00 2001 From: Mikolaj Golub Date: Tue, 16 May 2017 07:36:25 +0000 Subject: need use gmake to build --- databases/leofs/Makefile | 2 +- databases/leofs/files/patch-deps-bcrypt-rebar.config | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 databases/leofs/files/patch-deps-bcrypt-rebar.config (limited to 'databases/leofs') diff --git a/databases/leofs/Makefile b/databases/leofs/Makefile index 480e41451c99..3f66933b4234 100644 --- a/databases/leofs/Makefile +++ b/databases/leofs/Makefile @@ -56,7 +56,7 @@ SUB_LIST+= LEOFS_USER=${LEOFS_USER} \ SUB_FILES+= ${LEOFS_SBIN_FILES:S/^/sbin-/} -USES= dos2unix pkgconfig ssl +USES= dos2unix gmake pkgconfig ssl USE_RC_SUBR= ${PORTNAME} DOS2UNIX_FILES= apps/leo_*/snmp/snmpa_*/leo_*_snmp.config diff --git a/databases/leofs/files/patch-deps-bcrypt-rebar.config b/databases/leofs/files/patch-deps-bcrypt-rebar.config new file mode 100644 index 000000000000..25a08b6a25cf --- /dev/null +++ b/databases/leofs/files/patch-deps-bcrypt-rebar.config @@ -0,0 +1,13 @@ +--- deps/bcrypt/rebar.config.orig 2017-05-16 10:06:50.323294000 +0300 ++++ deps/bcrypt/rebar.config 2017-05-16 10:14:15.468298000 +0300 +@@ -16,8 +16,8 @@ + %% These post_hooks are for rebar2. rebar.config.script removes them if + %% rebar3 is detected + {post_hooks, +- [{clean, "make -C c_src clean"}, +- {compile, "make -C c_src"}]}. ++ [{clean, "gmake -C c_src clean"}, ++ {compile, "gmake -C c_src"}]}. + + %% plugins and provider_hooks are for rebar3. rebar.config.script removes them + %% if rebar2 is detected -- cgit v1.2.3