[133316] trunk/dports/_resources/port1.0/group/octave-1.0.tcl
michaelld at macports.org
michaelld at macports.org
Wed Feb 25 07:29:43 PST 2015
Revision: 133316
https://trac.macports.org/changeset/133316
Author: michaelld at macports.org
Date: 2015-02-25 07:29:43 -0800 (Wed, 25 Feb 2015)
Log Message:
-----------
octave PortGroup: whitespace and rearranging only.
Modified Paths:
--------------
trunk/dports/_resources/port1.0/group/octave-1.0.tcl
Modified: trunk/dports/_resources/port1.0/group/octave-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/octave-1.0.tcl 2015-02-25 15:20:33 UTC (rev 133315)
+++ trunk/dports/_resources/port1.0/group/octave-1.0.tcl 2015-02-25 15:29:43 UTC (rev 133316)
@@ -42,6 +42,7 @@
options octave.module
proc octave.setup {module version} {
+
global octave.module
octave.module ${module}
@@ -93,6 +94,7 @@
}
post-patch {
+
# In 10.8+, set the locale to "C" otherwise /usr/bin/sed can fail
# with an error when processing unicode characters.
@@ -134,15 +136,15 @@
# is always paired with the appropriate -Lpath statement.
configure.env-append \
- LAPACK_LIBS='[exec ${prefix}/bin/mkoctfile -p FLIBS] [exec ${prefix}/bin/mkoctfile -p LAPACK_LIBS]'
+ LAPACK_LIBS='[exec ${prefix}/bin/mkoctfile -p FLIBS] \
+ [exec ${prefix}/bin/mkoctfile -p LAPACK_LIBS]'
+ # In 10.8+, set the LC_CTYPE (locale) to "C" otherwise
+ # /usr/bin/sed can fail with an error when processing unicode
+ # characters.
+
platform darwin {
if {${os.major} >= 12} {
-
- # In 10.8+, set the LC_CTYPE (locale) to "C" otherwise
- # /usr/bin/sed can fail with an error when processing
- # unicode characters.
-
configure.env-append LC_CTYPE="C"
}
}
@@ -161,7 +163,7 @@
}
destroot {
- xinstall -m 644 ${worksrcpath}/${distname}.tar.gz ${destroot}${prefix}/share/octave/${octave.module}.tar.gz
+ xinstall -m 644 ${worksrcpath}/${distname}.tar.gz ${destroot}${prefix}/share/octave/${octave.module}.tar.gz
}
post-deactivate {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150225/7c3e68f8/attachment.html>
More information about the macports-changes
mailing list