[20890] trunk/dports/devel/caml-extlib/files/patch-install.ml
source_changes at macosforge.org
source_changes at macosforge.org
Thu Dec 7 15:33:25 PST 2006
Revision: 20890
http://trac.macosforge.org/projects/macports/changeset/20890
Author: jmpp at macports.org
Date: 2006-12-07 15:33:25 -0800 (Thu, 07 Dec 2006)
Log Message:
-----------
Reverting latest commit on this file: eliminating the CR line endings makes the patch fail for some odd reason.
Thanks to Kevin Ballard (Eridius) for noticing!
Modified Paths:
--------------
trunk/dports/devel/caml-extlib/files/patch-install.ml
Property Changed:
----------------
trunk/dports/devel/caml-extlib/files/patch-install.ml
Modified: trunk/dports/devel/caml-extlib/files/patch-install.ml
===================================================================
--- trunk/dports/devel/caml-extlib/files/patch-install.ml 2006-12-07 23:26:45 UTC (rev 20889)
+++ trunk/dports/devel/caml-extlib/files/patch-install.ml 2006-12-07 23:33:25 UTC (rev 20890)
@@ -1,21 +1,21 @@
--- install.ml.bak 2006-12-06 16:22:11.000000000 -0500
+++ install.ml 2006-12-06 16:22:58.000000000 -0500
@@ -173,9 +173,6 @@
- end;
- if !autodoc then begin
- run (sprintf "ocamldoc -sort -html -d %s %s" doc_dir (m_list ".mli"));
-- run ((match path_type with
-- | PathDos -> sprintf "%s odoc_style.css %s\\style.css";
-- | PathUnix -> sprintf "%s odoc_style.css %s/style.css") cp_cmd doc_dir);
- end;
- match install_dir with
- Findlib ->
+ end;
+ if !autodoc then begin
+ run (sprintf "ocamldoc -sort -html -d %s %s" doc_dir (m_list ".mli"));
+- run ((match path_type with
+- | PathDos -> sprintf "%s odoc_style.css %s\\style.css";
+- | PathUnix -> sprintf "%s odoc_style.css %s/style.css") cp_cmd doc_dir);
+ end;
+ match install_dir with
+ Findlib ->
@@ -194,7 +191,7 @@
- end;
- run (sprintf "%s META.txt META" cp_cmd);
- let files = Buffer.contents files in
-- run (sprintf "ocamlfind install extlib %s META" files);
-+ run (sprintf "##PREFIX##/bin/ocamlfind install -destdir '##DESTDIR##' -metadir '' extlib %s META" files);
- | Dir install_dir ->
- List.iter (fun m ->
- copy (m ^ ".cmi") install_dir;
+ end;
+ run (sprintf "%s META.txt META" cp_cmd);
+ let files = Buffer.contents files in
+- run (sprintf "ocamlfind install extlib %s META" files);
++ run (sprintf "##PREFIX##/bin/ocamlfind install -destdir '##DESTDIR##' -metadir '' extlib %s META" files);
+ | Dir install_dir ->
+ List.iter (fun m ->
+ copy (m ^ ".cmi") install_dir;
Property changes on: trunk/dports/devel/caml-extlib/files/patch-install.ml
___________________________________________________________________
Name: svn:eol-style
- native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061207/d8af9ddf/attachment.html
More information about the macports-changes
mailing list