[141720] trunk/dports/pure/pure-octave

ryandesign at macports.org ryandesign at macports.org
Sat Dec 12 02:43:27 PST 2015


Revision: 141720
          https://trac.macports.org/changeset/141720
Author:   ryandesign at macports.org
Date:     2015-10-26 16:28:54 -0700 (Mon, 26 Oct 2015)
Log Message:
-----------
pure-octave: update to 0.7

Modified Paths:
--------------
    trunk/dports/pure/pure-octave/Portfile

Added Paths:
-----------
    trunk/dports/pure/pure-octave/files/
    trunk/dports/pure/pure-octave/files/patch-Makefile.diff

Modified: trunk/dports/pure/pure-octave/Portfile
===================================================================
--- trunk/dports/pure/pure-octave/Portfile	2015-10-26 23:11:59 UTC (rev 141719)
+++ trunk/dports/pure/pure-octave/Portfile	2015-10-26 23:28:54 UTC (rev 141720)
@@ -4,7 +4,7 @@
 PortSystem                      1.0
 PortGroup                       pure 1.0
 
-pure.setup                      octave 0.6
+pure.setup                      octave 0.7
 categories-append               math science
 platforms                       darwin
 maintainers                     ryandesign gmail.com:aggraef
@@ -14,9 +14,11 @@
 
 long_description                ${name} is ${description}.
 
-checksums                       rmd160  8c1894a31f60ca40cf096b4332da51691a608f3e \
-                                sha256  5a42e8dff8023f6bf1214ed31b7999645d88ce2f103d9fba23b527259da9a0df
+checksums                       rmd160  658bde50c091b72c0b90c32e06e26aa802d282b7 \
+                                sha256  13ebbb78bc8341c5400893f01cf75012de9907b130785bc2d385792659c18111
 
 depends_build-append            port:pkgconfig
 
 depends_lib-append              path:bin/octave:octave
+
+patchfiles                      patch-Makefile.diff

Added: trunk/dports/pure/pure-octave/files/patch-Makefile.diff
===================================================================
--- trunk/dports/pure/pure-octave/files/patch-Makefile.diff	                        (rev 0)
+++ trunk/dports/pure/pure-octave/files/patch-Makefile.diff	2015-10-26 23:28:54 UTC (rev 141720)
@@ -0,0 +1,13 @@
+Don't use non-portable "echo -n"
+https://bitbucket.org/purelang/pure-lang/commits/b676e8106936907e3c6fa195458fbf258adfdfa2
+--- Makefile.orig	2015-09-10 03:01:00.000000000 -0500
++++ Makefile	2015-10-26 18:13:16.000000000 -0500
+@@ -22,7 +22,7 @@
+ # Try to guess the Octave version number. We're only interested in the
+ # major/minor version here, to cope with the C/C++ API breakage in Octave 3.8+.
+ octversion=$(shell mkoctfile --version 2>&1 | sed -e 's/^mkoctfile, version \([0-9.]*\).*/\1/' | sed -e 's/\([0-9]*\)[.]\([0-9]*\).*/\1 \2/')
+-octversionflag=$(shell if [ $(word 1,$(octversion)) -gt 3 ] || ( [ $(word 1,$(octversion)) -ge 3 ] && [ $(word 2,$(octversion)) -ge 8 ] ); then echo -n '-DOCTAVE_3_8_PLUS'; fi)
++octversionflag=$(shell if [ $(word 1,$(octversion)) -gt 3 ] || ( [ $(word 1,$(octversion)) -ge 3 ] && [ $(word 2,$(octversion)) -ge 8 ] ); then printf %s '-DOCTAVE_3_8_PLUS'; fi)
+ 
+ # Add the -rpath flag so that the dynamic linker finds liboctave.so etc. when
+ # Pure loads the module.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/13f5f674/attachment.html>


More information about the macports-changes mailing list