Commits

Mitsuhiro Nakamura committed 58aff1e

Remove devel/omake

  • Participants
  • Parent commits d36eaff

Comments (0)

Files changed (5)

devel/omake/Portfile

-# $Id: Portfile 60078 2009-11-01 09:27:48Z avsm@macports.org $
-
-PortSystem          1.0
-
-name                omake
-version             0.9.8.5-3
-revision            2
-platforms           darwin
-categories          devel
-maintainers         erickt openmaintainer
-description         OMake is a build system designed for scalability and portability
-long_description    OMake is a build system designed for scalability and portability. \
-                    It uses a syntax similar to make utilities you may have used, but \
-                    it features many additional enhancement
-homepage            http://omake.metaprl.org
-master_sites        http://omake.metaprl.org/downloads
-
-worksrcdir          ${name}-[lindex [split ${version} -] 0]
-
-checksums           md5 d114b3c4201808aacd73ec1a98965c47 \
-                    sha1 e78c9d8858749f5e234cba303637980e24085cbc \
-                    rmd160 2364e29a7cc9bd6aaf837818bbe0a64ef4afce14
-
-patchfiles          patch-stdin_stdout.bin.diff patch-omake.diff patch-OMakefile.diff
-
-depends_lib         port:ocaml
-
-use_configure       no
-
-build.env           PREFIX=${prefix}
-destroot.env        INSTALL_ROOT=${destroot}
-
-variant menhir {
-  depends_lib-append port:caml-menhir
-}

devel/omake/files/patch-OMakefile.diff

---- OMakefile
-+++ OMakefile
-@@ -57,7 +57,7 @@ if $(not $(defined CAMLLIB))
- #
- # OCaml options
- #
--OCAMLFLAGS[] += -w Ae$(if $(OCAML_ACCEPTS_Z_WARNING), z)
-+OCAMLFLAGS[] += -w Aer-29$(if $(OCAML_ACCEPTS_Z_WARNING), z)
- if $(THREADS_ENABLED)
-     OCAMLFLAGS += -thread
-     export
--- 

devel/omake/files/patch-omake.diff

---- src/exec/omake_exec.ml.orig	Thu Nov 27 14:20:45 2008
-+++ src/exec/omake_exec.ml	Thu Nov 27 14:20:50 2008
-@@ -46,8 +46,6 @@ open Omake_exec_notify
- open Omake_options
- open Omake_command_type
- 
--external sync : unit -> unit = "caml_sync"
--
- module Exec =
- struct
-    (*

devel/omake/files/patch-stdin_stdout.bin.diff

-diff -urNad src/build/omake_rule.ml omake-0.9.8.5/src/build/omake_rule.ml
---- src/build/omake_rule.ml	2007-07-02 14:20:23.000000000 -0400
-+++ src/build/omake_rule.ml	2007-09-06 12:52:23.752616976 -0400
-@@ -1040,12 +1040,12 @@
-  * Evaluate the commands NOW.
-  *)
- and exec_commands venv pos loc commands =
--   let stdin  = channel_of_var venv pos loc stdin_var in
-    let stdout = channel_of_var venv pos loc stdout_var in
--   let stdin  = Lm_channel.descr stdin in
-+   let stderr = channel_of_var venv pos loc stderr_var in
-    let stdout = Lm_channel.descr stdout in
-+   let stderr = Lm_channel.descr stderr in
-       List.iter (fun command ->
--            let pid = eval_shell_internal stdin stdout command in
-+            let pid = eval_shell_internal stdout stderr command in
-             let status, _ = eval_shell_wait venv pos pid in
-             let code =
-                match status with

devel/omake/files/stdin_stdout.bin

-diff -urNad src/build/omake_rule.ml omake-0.9.8.5/src/build/omake_rule.ml
---- src/build/omake_rule.ml	2007-07-02 14:20:23.000000000 -0400
-+++ src/build/omake_rule.ml	2007-09-06 12:52:23.752616976 -0400
-@@ -1040,12 +1040,12 @@
-  * Evaluate the commands NOW.
-  *)
- and exec_commands venv pos loc commands =
--   let stdin  = channel_of_var venv pos loc stdin_var in
-    let stdout = channel_of_var venv pos loc stdout_var in
--   let stdin  = Lm_channel.descr stdin in
-+   let stderr = channel_of_var venv pos loc stderr_var in
-    let stdout = Lm_channel.descr stdout in
-+   let stderr = Lm_channel.descr stderr in
-       List.iter (fun command ->
--            let pid = eval_shell_internal stdin stdout command in
-+            let pid = eval_shell_internal stdout stderr command in
-             let status, _ = eval_shell_wait venv pos pid in
-             let code =
-                match status with