aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lua/lua-md5/files')
-rw-r--r--dev-lua/lua-md5/files/lua-md5-1.2-respect-DESTDIR.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-lua/lua-md5/files/lua-md5-1.2-respect-DESTDIR.patch b/dev-lua/lua-md5/files/lua-md5-1.2-respect-DESTDIR.patch
new file mode 100644
index 000000000..9f7e71027
--- /dev/null
+++ b/dev-lua/lua-md5/files/lua-md5-1.2-respect-DESTDIR.patch
@@ -0,0 +1,19 @@
+--- Makefile.ori 2018-09-11 16:35:19.884248326 +0200
++++ Makefile 2018-09-11 16:35:22.214321658 +0200
+@@ -22,11 +22,11 @@
+ $(CC) $(CFLAGS) $(LIB_OPTION) -o src/$(DES56_LIBNAME) $(DES56_OBJS) $(COMPAT52_OBJS)
+
+ install: src/$(MD5_LIBNAME) src/$(DES56_LIBNAME)
+- mkdir -p $(LUA_LIBDIR)/md5
+- cp src/$(MD5_LIBNAME) $(LUA_LIBDIR)/md5/core.so
+- mkdir -p $(LUA_DIR)
+- cp $(MD5_LUAS) $(LUA_DIR)
+- cp src/$(DES56_LIBNAME) $(LUA_LIBDIR)
++ mkdir -p $(DESTDIR)/$(LUA_LIBDIR)/md5
++ cp src/$(MD5_LIBNAME) $(DESTDIR)/$(LUA_LIBDIR)/md5/core.so
++ mkdir -p $(DESTDIR)/$(LUA_DIR)
++ cp $(MD5_LUAS) $(DESTDIR)/$(LUA_DIR)
++ cp src/$(DES56_LIBNAME) $(DESTDIR)/$(LUA_LIBDIR)
+
+ clean:
+ rm -f $(MD5_OBJS) src/$(MD5_LIBNAME) $(DES56_OBJS) src/$(DES56_LIBNAME) $(COMPAT52_OBJS)