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

mcalhoun at macports.org mcalhoun at macports.org
Sun May 15 03:27:15 PDT 2016


Revision: 148700
          https://trac.macports.org/changeset/148700
Author:   mcalhoun at macports.org
Date:     2016-05-15 03:27:15 -0700 (Sun, 15 May 2016)
Log Message:
-----------
octave-devel, octave-devel-rc, octave-devel-release: patch header libcxx-fix.h must be installed if used

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

Modified: trunk/dports/math/octave-devel/Portfile
===================================================================
--- trunk/dports/math/octave-devel/Portfile	2016-05-15 10:20:59 UTC (rev 148699)
+++ trunk/dports/math/octave-devel/Portfile	2016-05-15 10:27:15 UTC (rev 148700)
@@ -30,7 +30,7 @@
 
 if { ${name} eq ${subport} } {
     version         ${version_tip}
-    revision        10
+    revision        11
     hg.tag          225d88a97104
 
     # see http://savannah.gnu.org/bugs/?41027
@@ -47,7 +47,7 @@
 
 subport octave-devel-rc {
     version         ${version_rc}
-    revision        4
+    revision        5
     hg.tag          2b66f30a0de7
 
     if {${version_rc} eq ${version_release}} {
@@ -72,7 +72,7 @@
 
 subport octave-devel-release {
     version         ${version_release}
-    #revision        0
+    revision        1
     hg.tag          5162cdfb56d8
 
     if {${version_release} eq ${version_rc}} {
@@ -662,6 +662,13 @@
     move \
         ${destroot}${prefix}/share/icons/hicolor/scalable/apps/octave.svg \
         ${destroot}${prefix}/share/octave/${version}/icons/hicolor/scalable/apps/octave.svg
+
+    if {[file exists ${worksrcpath}/liboctave/operators/libcxx-fix.h]} {
+        # install the libc++ fix, no matter if used or not, since it is
+        # required for projects including these headers.
+        xinstall -m 644 ${worksrcpath}/liboctave/operators/libcxx-fix.h \
+            ${destroot}${prefix}/include/${name}-${version}/${name}/libcxx-fix.h
+    }
 }
 
 test.run    yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160515/f10c3e95/attachment.html>


More information about the macports-changes mailing list