[132229] trunk/dports/math/octave/Portfile

michaelld at macports.org michaelld at macports.org
Tue Jan 27 07:18:47 PST 2015


Revision: 132229
          https://trac.macports.org/changeset/132229
Author:   michaelld at macports.org
Date:     2015-01-27 07:18:47 -0800 (Tue, 27 Jan 2015)
Log Message:
-----------
octave: install the libc++ fix, no matter if used or not, since it is required for projects including these headers.

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

Modified: trunk/dports/math/octave/Portfile
===================================================================
--- trunk/dports/math/octave/Portfile	2015-01-27 15:15:41 UTC (rev 132228)
+++ trunk/dports/math/octave/Portfile	2015-01-27 15:18:47 UTC (rev 132229)
@@ -280,12 +280,21 @@
 post-destroot {
 
     # select the default graphics toolkit depending on the +gui variant
+
     if {[variant_isset gui]} {
         system "echo 'graphics_toolkit(\"fltk\");' >> ${destroot}${prefix}/share/octave/site/m/startup/octaverc"
     } else {
         system "echo 'graphics_toolkit(\"gnuplot\");' >> ${destroot}${prefix}/share/octave/site/m/startup/octaverc"
     }
 
+    # install the libc++ fix, no matter if used or not, since it is
+    # required for projects including these headers.
+
+    xinstall -m 640 ${worksrcpath}/liboctave/operators/libcxx-fix.h \
+        ${destroot}${prefix}/include/${name}-${version}/${name}/libcxx-fix.h
+
+    # when doing +gui variant, create the Mac OS X .app
+
     if {[variant_isset gui]} {
         set appdir ${destroot}${applications_dir}/Octave.app
         xinstall -d ${appdir}/Contents/MacOS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150127/76393365/attachment.html>


More information about the macports-changes mailing list