summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lua/lpeg/files')
-rw-r--r--dev-lua/lpeg/files/lpeg-0.12-makefile.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/dev-lua/lpeg/files/lpeg-0.12-makefile.patch b/dev-lua/lpeg/files/lpeg-0.12-makefile.patch
deleted file mode 100644
index 5734de9f55d8..000000000000
--- a/dev-lua/lpeg/files/lpeg-0.12-makefile.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- lpeg-0.12/makefile
-+++ lpeg-0.12/makefile
-@@ -1,7 +1,7 @@
- LIBNAME = lpeg
- LUADIR = /usr/include/lua5.1/
-
--COPT = -O2
-+#COPT = -O2
- # COPT = -DLPEG_DEBUG -g
-
- CWARNS = -Wall -Wextra -pedantic \
-@@ -22,21 +22,21 @@
- # -Wunreachable-code \
-
-
--CFLAGS = $(CWARNS) $(COPT) -ansi -I$(LUADIR) -fPIC
-+CFLAGS += $(CWARNS) $(COPT) -ansi -I$(LUADIR) -fPIC
- CC = gcc
-
- FILES = lpvm.o lpcap.o lptree.o lpcode.o lpprint.o
-
- # For Linux
- linux:
-- make lpeg.so "DLLFLAGS = -shared -fPIC"
-+ $(MAKE) lpeg.so "DLLFLAGS = -shared -fPIC"
-
- # For Mac OS
- macosx:
-- make lpeg.so "DLLFLAGS = -bundle -undefined dynamic_lookup"
-+ $(MAKE) lpeg.so "DLLFLAGS = -bundle -undefined dynamic_lookup"
-
- lpeg.so: $(FILES)
-- env $(CC) $(DLLFLAGS) $(FILES) -o lpeg.so
-+ env $(CC) $(CFLAGS) $(DLLFLAGS) $(LDFLAGS) $(FILES) -o lpeg.so
-
- $(FILES): makefile
-