]> git.pld-linux.org Git - packages/ocaml-net.git/commitdiff
- DESTDIR patch
authorSÅ‚awomir Paszkiewicz <paszczus@pld-linux.org>
Thu, 17 Mar 2005 09:19:09 +0000 (09:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ocaml-net-DESTDIR.patch -> 1.1

ocaml-net-DESTDIR.patch [new file with mode: 0644]

diff --git a/ocaml-net-DESTDIR.patch b/ocaml-net-DESTDIR.patch
new file mode 100644 (file)
index 0000000..4f2e1f7
--- /dev/null
@@ -0,0 +1,20 @@
+diff -ur ocamlnet-0.98.1/src/Makefile.rules ocamlnet-0.98.1.new/src/Makefile.rules
+--- ocamlnet-0.98.1/src/Makefile.rules 2005-01-30 15:27:16.000000000 +0000
++++ ocamlnet-0.98.1.new/src/Makefile.rules     2005-03-17 09:15:51.474074112 +0000
+@@ -87,13 +87,13 @@
+ .PHONY: install-conventional
+ install-conventional:
+-      test -n $(LIBDIR)
+-      mkdir -p $(LIBDIR)
++      test -n $(DESTDIR)$(LIBDIR)
++      mkdir -p $(DESTDIR)$(LIBDIR)
+       touch packlist-$(PKGNAME)
+       files=`$(COLLECT_FILES) *.mli *.cmi *.cma *.cmxa *.a META $(INSTALL_EXTRA) packlist-$(PKGNAME)` && \
+       ls $$files | \
+               { while read f; do echo "$(LIBDIR)/$$f"; done } >packlist-$(PKGNAME) && \
+-      cp $$files $(LIBDIR)
++      cp $$files $(DESTDIR)$(LIBDIR)
+ # Note: Before ocamlnet 0.96, the packlist contained only relative path
This page took 0.048089 seconds and 4 git commands to generate.