Ticket #46649: Patchfile-octave-1.x.diff
File Patchfile-octave-1.x.diff, 2.0 KB (added by Schamschula (Marius Schamschula), 10 years ago) |
---|
-
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/octave-1.
old new 1 # $Id: octave-1. 0.tcl 114205 2013-12-02 15:29:03Z michaelld@macports.org$1 # $Id: octave-1.1.tcl $ 2 2 # 3 3 # Copyright (c) 2010 The MacPorts Project 4 4 # All rights reserved. … … 33 33 # 34 34 # Usage: 35 35 # 36 # PortGroup octave 1. 036 # PortGroup octave 1.1 37 37 # octave.setup module version 38 38 # 39 39 # where module is the name of the module (e.g. communications) and … … 92 92 } 93 93 } 94 94 95 post-patch{95 configure { 96 96 # In 10.8+, set the locale to "C" otherwise /usr/bin/sed can fail 97 97 # with an error when processing unicode characters. 98 98 … … 123 123 124 124 } 125 125 126 pre- configure{126 pre-build { 127 127 128 128 # set parameters, now that variables are available for use 129 129 130 configure.cmd ${prefix}/bin/octave 131 configure.args -q -f --eval 'pkg build -verbose -nodeps ${worksrcpath} ${workpath}/.tmp/${octave.module}.tar.gz' 130 build.cmd ${prefix}/bin/octave 131 build.args -q -f --eval 'pkg build -verbose -nodeps ${worksrcpath} ${workpath}/.tmp/${octave.module}.tar.gz' 132 build.target "" 132 133 133 134 # fix usage of LAPACK_LIBS to include FLIBS, such that -lgfortran 134 135 # is always paired with the appropriate -Lpath statement. 135 136 136 configure.env-append \137 build.env-append \ 137 138 LAPACK_LIBS='[exec ${prefix}/bin/mkoctfile -p FLIBS] [exec ${prefix}/bin/mkoctfile -p LAPACK_LIBS]' 138 139 139 140 platform darwin { … … 143 144 # /usr/bin/sed can fail with an error when processing 144 145 # unicode characters. 145 146 146 configure.env-append LC_CTYPE="C"147 build.env-append LC_CTYPE="C" 147 148 } 148 149 } 149 150 } 150 151 151 # dummy build phase, since this has already been done152 153 build {}154 155 152 destroot.keepdirs ${destroot}${prefix}/lib/octave/packages \ 156 153 ${destroot}${prefix}/share/octave/packages 157 154