aboutsummaryrefslogtreecommitdiff
path: root/dist/install.diff
diff options
context:
space:
mode:
Diffstat (limited to 'dist/install.diff')
-rw-r--r--dist/install.diff16
1 files changed, 16 insertions, 0 deletions
diff --git a/dist/install.diff b/dist/install.diff
new file mode 100644
index 0000000..f8e4951
--- /dev/null
+++ b/dist/install.diff
@@ -0,0 +1,16 @@
+diff -ru zlib-1.2.5.orig/Makefile.in zlib-1.2.5/Makefile.in
+--- zlib-1.2.5.orig/Makefile.in 2010-04-20 00:12:21.000000000 -0400
++++ zlib-1.2.5/Makefile.in 2011-01-01 19:43:38.000000000 -0500
+@@ -167,9 +167,9 @@
+ -@if [ ! -d $(DESTDIR)$(sharedlibdir) ]; then mkdir -p $(DESTDIR)$(sharedlibdir); fi
+ -@if [ ! -d $(DESTDIR)$(man3dir) ]; then mkdir -p $(DESTDIR)$(man3dir); fi
+ -@if [ ! -d $(DESTDIR)$(pkgconfigdir) ]; then mkdir -p $(DESTDIR)$(pkgconfigdir); fi
+- cp $(STATICLIB) $(DESTDIR)$(libdir)
+- cp $(SHAREDLIBV) $(DESTDIR)$(sharedlibdir)
+- cd $(DESTDIR)$(libdir); chmod u=rw,go=r $(STATICLIB)
++ -cp $(STATICLIB) $(DESTDIR)$(libdir)
++ -cp $(SHAREDLIBV) $(DESTDIR)$(sharedlibdir)
++ -cd $(DESTDIR)$(libdir); chmod u=rw,go=r $(STATICLIB)
+ -@(cd $(DESTDIR)$(libdir); $(RANLIB) libz.a || true) >/dev/null 2>&1
+ -@cd $(DESTDIR)$(sharedlibdir); if test "$(SHAREDLIBV)" -a -f $(SHAREDLIBV); then \
+ chmod 755 $(SHAREDLIBV); \