[152194] trunk/dports/math/ml

sean at macports.org sean at macports.org
Wed Aug 31 13:59:14 PDT 2016


Revision: 152194
          https://trac.macports.org/changeset/152194
Author:   sean at macports.org
Date:     2016-08-31 13:59:14 -0700 (Wed, 31 Aug 2016)
Log Message:
-----------
ml: fix build with newer perl; closes #51797

Modified Paths:
--------------
    trunk/dports/math/ml/Portfile

Added Paths:
-----------
    trunk/dports/math/ml/files/patch-perl.diff

Removed Paths:
-------------
    trunk/dports/math/ml/files/configure.math.patch

Modified: trunk/dports/math/ml/Portfile
===================================================================
--- trunk/dports/math/ml/Portfile	2016-08-31 20:59:10 UTC (rev 152193)
+++ trunk/dports/math/ml/Portfile	2016-08-31 20:59:14 UTC (rev 152194)
@@ -6,7 +6,7 @@
 
 name                ml
 version             6.2
-revision            1
+revision            2
 categories          math
 license             LGPL-2.1
 platforms           darwin
@@ -26,6 +26,8 @@
 universal_variant   no
 use_parallel_build  no
 
+patchfiles-append   patch-perl.diff
+
 configure.args      --disable-ml-epetra \
                     --disable-ml-aztecoo \
                     --disable-ml-examples \

Deleted: trunk/dports/math/ml/files/configure.math.patch
===================================================================
--- trunk/dports/math/ml/files/configure.math.patch	2016-08-31 20:59:10 UTC (rev 152193)
+++ trunk/dports/math/ml/files/configure.math.patch	2016-08-31 20:59:14 UTC (rev 152194)
@@ -1,13 +0,0 @@
---- configure.ac.orig	2011-04-29 16:53:43.000000000 -0500
-+++ configure.ac	2011-04-29 16:53:51.000000000 -0500
-@@ -569,8 +569,8 @@
-   # checks for libraries now
-   dnl Replace `main' with a function in -lm:
-   #  #np# These lines can be removed if the math lib is not needed.
--  AC_SEARCH_LIBS(pow,[m],,AC_MSG_ERROR(Cannot find math library))
--  AC_SEARCH_LIBS(sqrt,[m],,AC_MSG_ERROR(Cannot find math library))
-+  # AC_SEARCH_LIBS(pow,[m],,AC_MSG_ERROR(Cannot find math library))
-+  # AC_SEARCH_LIBS(sqrt,[m],,AC_MSG_ERROR(Cannot find math library))
- 
-   # find or choose to supply valid blas and lapack libraries
-   TAC_BLAS([], [AC_MSG_ERROR([[Cannot find blas library, specify a path using --with-ldflags=-I<DIR> (ex. --with-ldflags=-I/usr/path/lib) or a specific library using --with-blas=DIR/LIB (for example --with-blas=/usr/path/lib/libcxml.a)]])])

Added: trunk/dports/math/ml/files/patch-perl.diff
===================================================================
--- trunk/dports/math/ml/files/patch-perl.diff	                        (rev 0)
+++ trunk/dports/math/ml/files/patch-perl.diff	2016-08-31 20:59:14 UTC (rev 152194)
@@ -0,0 +1,11 @@
+--- config/generate-makeoptions.pl.orig	2016-08-05 14:18:34.000000000 -0700
++++ config/generate-makeoptions.pl	2016-08-05 14:19:32.000000000 -0700
+@@ -10,7 +10,7 @@
+ #
+ use strict;
+ 
+-if( !(defined(@ARGV) && scalar(@ARGV)==2) ) {
++if( !(@ARGV && scalar(@ARGV)==2) ) {
+   die "Error, this script takes two and only two arguments (makefile_name package_name).!\n";
+ }
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160831/bff38ecc/attachment.html>


More information about the macports-changes mailing list