[112913] trunk/dports/math/octave-devel/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Nov 3 17:01:31 PST 2013


Revision: 112913
          https://trac.macports.org/changeset/112913
Author:   ryandesign at macports.org
Date:     2013-11-03 17:01:31 -0800 (Sun, 03 Nov 2013)
Log Message:
-----------
octave-devel: fix build failures on Lion (#41165) and Mountain Lion (#41164)

Modified Paths:
--------------
    trunk/dports/math/octave-devel/Portfile

Modified: trunk/dports/math/octave-devel/Portfile
===================================================================
--- trunk/dports/math/octave-devel/Portfile	2013-11-04 00:29:34 UTC (rev 112912)
+++ trunk/dports/math/octave-devel/Portfile	2013-11-04 01:01:31 UTC (rev 112913)
@@ -109,14 +109,14 @@
 compiler.blacklist-append { clang <= 318.0.61 } macports-clang-2.9
 
 platform darwin {
-    if {${os.major} > 11} {
+    if {${os.major} >= 11} {
 
         # 10.7+ requires an extra patch; this patch will break the
         # build on 10.6 and prior, so apply it only under 10.7.
 
         patchfiles-append patch-src-display.cc.diff
     }
-    if {${os.major} > 12} {
+    if {${os.major} >= 12} {
 
         # In 10.8+, the LANG environment variable needs to be set to
         # "C" otherwise /usr/bin/sed fails with an error.  Ideally,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131103/e4e316a3/attachment.html>


More information about the macports-changes mailing list