SOURCES: ocaml-net-Makefile.patch (NEW) - DESTDIR patch
paszczus
paszczus at pld-linux.org
Sat Oct 15 17:52:36 CEST 2005
Author: paszczus Date: Sat Oct 15 15:52:36 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- DESTDIR patch
---- Files affected:
SOURCES:
ocaml-net-Makefile.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/ocaml-net-Makefile.patch
diff -u /dev/null SOURCES/ocaml-net-Makefile.patch:1.1
--- /dev/null Sat Oct 15 17:52:36 2005
+++ SOURCES/ocaml-net-Makefile.patch Sat Oct 15 17:52:31 2005
@@ -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); \
================================================================
More information about the pld-cvs-commit
mailing list