summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/make/Makefile2
-rw-r--r--package/make/patches/patch-commands_c11
2 files changed, 13 insertions, 0 deletions
diff --git a/package/make/Makefile b/package/make/Makefile
index 17e9f666b..862bd8772 100644
--- a/package/make/Makefile
+++ b/package/make/Makefile
@@ -20,6 +20,8 @@ include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,MAKE,make,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+CONFIGURE_ARGS+= --disable-load
+
make-install:
$(INSTALL_DIR) $(IDIR_MAKE)/usr/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/make $(IDIR_MAKE)/usr/bin
diff --git a/package/make/patches/patch-commands_c b/package/make/patches/patch-commands_c
new file mode 100644
index 000000000..2157bd3ce
--- /dev/null
+++ b/package/make/patches/patch-commands_c
@@ -0,0 +1,11 @@
+--- make-4.0.orig/commands.c 2013-10-06 01:12:24.000000000 +0200
++++ make-4.0/commands.c 2014-07-30 15:31:01.450155946 +0200
+@@ -14,8 +14,6 @@ A PARTICULAR PURPOSE. See the GNU Gener
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see <http://www.gnu.org/licenses/>. */
+
+-#include <dlfcn.h>
+-
+ #include "makeint.h"
+ #include "filedef.h"
+ #include "dep.h"