diff options
author | Julian Ospald <hasufell@gentoo.org> | 2015-08-15 01:04:46 +0200 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2015-08-15 01:04:46 +0200 |
commit | 084f8542255278f56f4d020c2c2b4ed4f92356a3 (patch) | |
tree | 98634aaf2be191c96e65d5dd08313212d231df30 /dev-lua/luvit/files | |
parent | dev-libs/libntru: rm old (diff) | |
download | gentoo-084f8542255278f56f4d020c2c2b4ed4f92356a3.tar.gz gentoo-084f8542255278f56f4d020c2c2b4ed4f92356a3.tar.bz2 gentoo-084f8542255278f56f4d020c2c2b4ed4f92356a3.zip |
dev-lua/luvit: rm old
Diffstat (limited to 'dev-lua/luvit/files')
-rw-r--r-- | dev-lua/luvit/files/luvit-0.6.1-unbundle-http-parser.patch | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/dev-lua/luvit/files/luvit-0.6.1-unbundle-http-parser.patch b/dev-lua/luvit/files/luvit-0.6.1-unbundle-http-parser.patch deleted file mode 100644 index 108aea9c5740..000000000000 --- a/dev-lua/luvit/files/luvit-0.6.1-unbundle-http-parser.patch +++ /dev/null @@ -1,54 +0,0 @@ -commit b34b7b0474878d1951637b762c68694c16c1c574 -Author: hasufell <hasufell@gentoo.org> -Date: Sun Jun 30 22:37:10 2013 +0200 - - unbundle http-parser - -diff --git a/Makefile b/Makefile -index a0e9277..99535ca 100644 ---- a/Makefile -+++ b/Makefile -@@ -38,6 +38,7 @@ USE_SYSTEM_SSL?=0 - USE_SYSTEM_LUAJIT?=0 - USE_SYSTEM_ZLIB?=0 - USE_SYSTEM_YAJL?=0 -+USE_SYSTEM_HTTPPARSER?=0 - - DEBUG ?= 1 - ifeq (${DEBUG},1) -@@ -92,6 +93,10 @@ endif - - LIBS += ${UVDIR}/uv.a - -+ifeq (${USE_SYSTEM_HTTPPARSER},1) -+LIBS += -lhttp_parser -+endif -+ - ifeq (${USE_SYSTEM_LUAJIT},1) - CPPFLAGS+=$(shell pkg-config --cflags luajit) - LIBS+=$(shell pkg-config --libs luajit) -@@ -169,8 +174,11 @@ LUVLIBS=${BUILDDIR}/utils.o \ - ${BUILDDIR}/luv_zlib.o \ - ${BUILDDIR}/lhttp_parser.o - --DEPS= ${UVDIR}/uv.a \ -- ${HTTPDIR}/http_parser.o -+DEPS= ${UVDIR}/uv.a -+ -+ifeq (${USE_SYSTEM_HTTPPARSER},0) -+DEPS += ${HTTPDIR}/http_parser.o -+endif - - ifeq (${USE_SYSTEM_LUAJIT},0) - DEPS+=${LUADIR}/src/libluajit.a -@@ -278,8 +286,10 @@ install: all - install ${BUILDDIR}/luvit ${BINDIR}/luvit - mkdir -p ${LIBDIR} - cp lib/luvit/*.lua ${LIBDIR} -+ifeq (${USE_SYSTEM_HTTPPARSER},0) - mkdir -p ${INCDIR}/http_parser - cp ${HTTPDIR}/http_parser.h ${INCDIR}/http_parser/ -+endif - mkdir -p ${INCDIR}/uv - cp -r ${UVDIR}/include/* ${INCDIR}/uv/ - cp src/*.h ${INCDIR}/ |