]> git.pld-linux.org Git - packages/ocaml-net.git/commitdiff
- DESTDIR patch
authorSÅ‚awomir Paszkiewicz <paszczus@pld-linux.org>
Sat, 15 Oct 2005 15:52:31 +0000 (15:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ocaml-net-Makefile.patch -> 1.1

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

diff --git a/ocaml-net-Makefile.patch b/ocaml-net-Makefile.patch
new file mode 100644 (file)
index 0000000..cc48566
--- /dev/null
@@ -0,0 +1,22 @@
+--- ocamlnet-1.1/src/netstring/Makefile        2005-07-25 22:43:34.000000000 +0000
++++ ocamlnet-1.1.new/src/netstring/Makefile    2005-10-15 15:46:53.600730152 +0000
+@@ -101,7 +101,7 @@
+ .PHONY: mk_netdb
+ mk_netdb: tools_done netmappings_iso.pmap netmappings_other.pmap netmappings_jp.pmap
+-      mkdir -p netdb
++      mkdir -p $(OCAMLFIND_DESTDIR)netdb
+       cd netdb && \
+               ../tools/unimap_to_ocaml/unimap_to_ocaml -netdb ../*.pmap
+@@ -172,8 +172,8 @@
+ .PHONY: install-netdb
+ install-netdb:
+-      mkdir -p $(NET_DB_DIR)
+-      cp netdb/*.netdb $(NET_DB_DIR)
++      mkdir -p $(OCAMLFIND_DESTDIR)$(NET_DB_DIR)
++      cp netdb/*.netdb $(OCAMLFIND_DESTDIR)$(NET_DB_DIR)
+       @echo "Installed .netdb files into $(NET_DB_DIR)"
+       if [ "$(INSTMETHOD)" != "findlib" ]; then                     \
+               cat netdb-packlist >>$(LIBDIR)/packlist-$(PKGNAME);   \
This page took 0.138259 seconds and 4 git commands to generate.