aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMemphiz <memphis@machzwo.de>2015-04-11 15:14:32 +0200
committerMemphiz <memphis@machzwo.de>2015-04-11 15:15:25 +0200
commitb772ee11ddb2892f2b559e6cbebd8915bb0a8dfb (patch)
treed948de82e0617068238546bcfa655323a0d2ca9c
parent0e7941b438e4e6c6459ea8a79b13e7506dd9ffbf (diff)
[depends/nettle] - disable build of testsuite (doesn't compile with clang from xcode6.3)
-rw-r--r--tools/depends/target/nettle/01-disable_testsuite.patch11
-rw-r--r--tools/depends/target/nettle/Makefile1
2 files changed, 12 insertions, 0 deletions
diff --git a/tools/depends/target/nettle/01-disable_testsuite.patch b/tools/depends/target/nettle/01-disable_testsuite.patch
new file mode 100644
index 0000000000..97b1d47f97
--- /dev/null
+++ b/tools/depends/target/nettle/01-disable_testsuite.patch
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2015-04-11 15:11:40.000000000 +0200
++++ Makefile.in 2015-04-11 15:11:47.000000000 +0200
+@@ -16,7 +16,7 @@
+
+ OPT_ASM_SOURCES = @OPT_ASM_SOURCES@
+
+-SUBDIRS = tools testsuite examples
++SUBDIRS = tools examples
+
+ include config.make
+
diff --git a/tools/depends/target/nettle/Makefile b/tools/depends/target/nettle/Makefile
index df823eacf2..ff6e12023e 100644
--- a/tools/depends/target/nettle/Makefile
+++ b/tools/depends/target/nettle/Makefile
@@ -29,6 +29,7 @@ $(TARBALLS_LOCATION)/$(ARCHIVE):
$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS)
rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM)
cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
+ cd $(PLATFORM); patch -p0 < ../01-disable_testsuite.patch
cd $(PLATFORM); $(CONFIGURE)
$(LIBDYLIB): $(PLATFORM)