aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Mokrejs <mmokrejs@fold.natur.cuni.cz>2018-09-11 16:41:35 +0200
committerMartin Mokrejs <mmokrejs@fold.natur.cuni.cz>2018-09-11 16:45:21 +0200
commit5bd33921d60b0f5dbf2eef66a41bcd02cdc45a01 (patch)
tree6ad08a019d916487c125e73aa799f1cd87987fc4 /dev-lua/lua-md5/files/lua-md5-1.2-respect-DESTDIR.patch
parentsys-cluster/openmpi: dep on v1 hwloc (diff)
downloadsci-5bd33921d60b0f5dbf2eef66a41bcd02cdc45a01.tar.gz
sci-5bd33921d60b0f5dbf2eef66a41bcd02cdc45a01.tar.bz2
sci-5bd33921d60b0f5dbf2eef66a41bcd02cdc45a01.zip
dev-lua/lua-md5: new package needed by sci-biology/genometools
I am not interested in maintaining this any further. Package-Manager: Portage-2.3.48, Repoman-2.3.10
Diffstat (limited to 'dev-lua/lua-md5/files/lua-md5-1.2-respect-DESTDIR.patch')
-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)