summaryrefslogtreecommitdiff
path: root/databases/webdis/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/webdis/files/patch-Makefile')
-rw-r--r--databases/webdis/files/patch-Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/databases/webdis/files/patch-Makefile b/databases/webdis/files/patch-Makefile
new file mode 100644
index 000000000000..0d91188e1f55
--- /dev/null
+++ b/databases/webdis/files/patch-Makefile
@@ -0,0 +1,13 @@
+--- Makefile.orig 2019-09-30 09:33:34 UTC
++++ Makefile
+@@ -5,8 +5,8 @@ B64_OBJS?=b64/cencode.o
+ FORMAT_OBJS?=formats/json.o formats/raw.o formats/common.o formats/custom-type.o
+ HTTP_PARSER_OBJS?=http-parser/http_parser.o
+
+-CFLAGS ?= -O3 -Wall -Wextra -Isrc -Isrc/jansson/src -Isrc/http-parser -MD
+-LDFLAGS ?= -levent -pthread
++CFLAGS += -Isrc -Isrc/jansson/src -Isrc/http-parser -MD -I%%LOCALBASE%%/include -I%%LOCALBASE%%/include/event2
++LDFLAGS += -levent -pthread -L%%LOCALBASE%%/lib
+
+ # check for MessagePack
+ MSGPACK_LIB=$(shell ls /usr/lib/libmsgpack.so 2>/dev/null)