summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-07-30 15:50:23 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-07-30 15:51:56 +0200
commit02eaa2a7fbe256c0e070268957d6d4e5dd13c234 (patch)
treeee64ad62e0239b61ed2b2d9e0e0886e9ec7d6441 /package
parent564f513b5baefdcca276b8281f81f215b89bb3e4 (diff)
fix static build
Diffstat (limited to 'package')
-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"