summaryrefslogtreecommitdiffstats
path: root/package/mongrel2/mongrel2-0002-Do-not-run-tests.patch
diff options
context:
space:
mode:
authorLionel Orry <lionel.orry@gmail.com>2013-03-27 05:09:08 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-04-26 23:08:51 +0200
commitb7175ef726ff8b94033a71c756620dc5fbad4fa1 (patch)
treefe861404ca2e24b092aef0550dc66d65a52824a8 /package/mongrel2/mongrel2-0002-Do-not-run-tests.patch
parent4bda4e6ed8875b46e64b401d13d77966a5159f5d (diff)
downloadbuildroot-novena-b7175ef726ff8b94033a71c756620dc5fbad4fa1.tar.gz
buildroot-novena-b7175ef726ff8b94033a71c756620dc5fbad4fa1.zip
mongrel2: new package
[Peter: indent help, use _VERSION in _SITE] Signed-off-by: Lionel Orry <lionel.orry@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/mongrel2/mongrel2-0002-Do-not-run-tests.patch')
-rw-r--r--package/mongrel2/mongrel2-0002-Do-not-run-tests.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/package/mongrel2/mongrel2-0002-Do-not-run-tests.patch b/package/mongrel2/mongrel2-0002-Do-not-run-tests.patch
new file mode 100644
index 000000000..557c27edd
--- /dev/null
+++ b/package/mongrel2/mongrel2-0002-Do-not-run-tests.patch
@@ -0,0 +1,43 @@
+From 3cbef2195533f357c8a80c2840108662461273b7 Mon Sep 17 00:00:00 2001
+From: Lionel Orry <lionel.orry@gmail.com>
+Date: Wed, 27 Mar 2013 14:48:19 +0100
+Subject: [PATCH 4/4] Do not run tests.
+
+This patch is specific to cross-compiled environments and avoids running
+the tests on the host. It is not meant to be applied upstream.
+
+Signed-off-by: Lionel Orry <lionel.orry@gmail.com>
+---
+ Makefile | 2 +-
+ tools/m2sh/Makefile | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 7dc4089..ca72630 100644
+--- a/Makefile
++++ b/Makefile
+@@ -16,7 +16,7 @@ TEST_SRC=$(wildcard tests/*_tests.c)
+ TESTS=$(patsubst %.c,%,${TEST_SRC})
+ MAKEOPTS=OPTFLAGS="${NOEXTCFLAGS} ${OPTFLAGS}" OPTLIBS="${OPTLIBS}" LIBS="${LIBS}" DESTDIR="${DESTDIR}" PREFIX="${PREFIX}"
+
+-all: bin/mongrel2 tests m2sh procer
++all: bin/mongrel2 m2sh procer filters config_modules
+
+ dev: CFLAGS=-g -Wall -Isrc -Wall -Wextra $(OPTFLAGS) -D_FILE_OFFSET_BITS=64
+ dev: all
+diff --git a/tools/m2sh/Makefile b/tools/m2sh/Makefile
+index b50d8a0..334e4da 100644
+--- a/tools/m2sh/Makefile
++++ b/tools/m2sh/Makefile
+@@ -9,7 +9,7 @@ TESTS=$(patsubst %.c,%,${TEST_SRC})
+ LIB_SRC=$(filter-out src/m2sh.c,${SOURCES})
+ LIB_OBJ=$(filter-out src/m2sh.o,${OBJECTS})
+
+-all: ../lemon/lemon tests build/m2sh
++all: ../lemon/lemon build/m2sh
+
+ dev: CFLAGS=-g -Wall -Wextra -Isrc -I../../src $(OPTFLAGS)
+ dev: all
+--
+1.8.1.4
+