summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2015-11-05 18:31:27 -0600
committerWilliam Hubbs <williamh@gentoo.org>2015-11-05 18:33:16 -0600
commitd331b133dad3196327c55cc14c6daf08e43f1d02 (patch)
tree747157c03aa3ae7c3140f551ee929fcf1dc01054 /dev-lua/luacov/files
parentdev-db/percona-server: Add patch for tests and update test instructions (diff)
downloadgentoo-d331b133dad3196327c55cc14c6daf08e43f1d02.tar.gz
gentoo-d331b133dad3196327c55cc14c6daf08e43f1d02.tar.bz2
gentoo-d331b133dad3196327c55cc14c6daf08e43f1d02.zip
dev-lua/luacov: initial commit
Diffstat (limited to 'dev-lua/luacov/files')
-rw-r--r--dev-lua/luacov/files/luacov-0.8-fix-makefile.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-lua/luacov/files/luacov-0.8-fix-makefile.patch b/dev-lua/luacov/files/luacov-0.8-fix-makefile.patch
new file mode 100644
index 00000000000..7a4ea6ba9ea
--- /dev/null
+++ b/dev-lua/luacov/files/luacov-0.8-fix-makefile.patch
@@ -0,0 +1,25 @@
+diff --git a/Makefile b/Makefile
+index 477f9de..adad2cc 100644
+--- a/Makefile
++++ b/Makefile
+@@ -6,13 +6,13 @@ BINDIR=$(PREFIX)/bin
+ LUADIR=$(PREFIX)/share/lua/5.1/
+
+ install:
+- mkdir -p $(BINDIR)
+- cp src/bin/luacov $(BINDIR)
+- chmod +x $(BINDIR)/luacov
+- mkdir -p $(LUADIR)
+- cp src/luacov.lua $(LUADIR)
+- mkdir -p $(LUADIR)/luacov
+- cp src/luacov/*.lua $(LUADIR)/luacov
++ mkdir -p $(DESTDIR)$(BINDIR)
++ cp src/bin/luacov $(DESTDIR)$(BINDIR)
++ chmod +x $(DESTDIR)$(BINDIR)/luacov
++ mkdir -p $(DESTDIR)$(LUADIR)
++ cp src/luacov.lua $(DESTDIR)$(LUADIR)
++ mkdir -p $(DESTDIR)$(LUADIR)/luacov
++ cp src/luacov/*.lua $(DESTDIR)$(LUADIR)/luacov
+
+ dist:
+ rm -rf $(PACKAGE)-$(VERSION)