[138056] trunk/dports/textproc/wyrd

jmr at macports.org jmr at macports.org
Fri Jun 26 22:30:28 PDT 2015


Revision: 138056
          https://trac.macports.org/changeset/138056
Author:   jmr at macports.org
Date:     2015-06-26 22:30:28 -0700 (Fri, 26 Jun 2015)
Log Message:
-----------
wyrd: fix ocaml version check in configure (#35713, maintainer timeout)

Modified Paths:
--------------
    trunk/dports/textproc/wyrd/Portfile

Added Paths:
-----------
    trunk/dports/textproc/wyrd/files/
    trunk/dports/textproc/wyrd/files/configure.patch

Modified: trunk/dports/textproc/wyrd/Portfile
===================================================================
--- trunk/dports/textproc/wyrd/Portfile	2015-06-27 01:03:30 UTC (rev 138055)
+++ trunk/dports/textproc/wyrd/Portfile	2015-06-27 05:30:28 UTC (rev 138056)
@@ -25,4 +25,6 @@
 
 depends_lib       port:ocaml port:remind port:ncurses
 
+patchfiles        configure.patch
+
 configure.args    --mandir=${prefix}/share/man

Added: trunk/dports/textproc/wyrd/files/configure.patch
===================================================================
--- trunk/dports/textproc/wyrd/files/configure.patch	                        (rev 0)
+++ trunk/dports/textproc/wyrd/files/configure.patch	2015-06-27 05:30:28 UTC (rev 138056)
@@ -0,0 +1,11 @@
+--- configure.orig	2008-02-22 15:25:27.000000000 +1100
++++ configure	2012-10-06 03:17:48.000000000 +1000
+@@ -1725,7 +1725,7 @@
+ echo "$as_me: error: Wyrd requires OCaml version 3.08 or greater." >&2;}
+    { (exit 1); exit 1; }; }
+ else
+-   if test $OCAMLMINORVERSION -lt 8 ; then
++   if test $OCAMLMAJORVERSION -eq 3 -a $OCAMLMINORVERSION -lt 8 ; then
+       { { echo "$as_me:$LINENO: error: Wyrd requires OCaml version 3.08 or greater." >&5
+ echo "$as_me: error: Wyrd requires OCaml version 3.08 or greater." >&2;}
+    { (exit 1); exit 1; }; }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150626/ae15ea0c/attachment.html>


More information about the macports-changes mailing list