Skip to content

Commit

Permalink
Incorporating patches from Chris Waterson, taking over ownership of t…
Browse files Browse the repository at this point in the history
…he port

from Per Persson, and upgrading the port to version 2.9.9.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@20255 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Andre Stechert committed Oct 31, 2006
1 parent 43c7def commit bf45845
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 8 deletions.
18 changes: 10 additions & 8 deletions math/octave/Portfile
Expand Up @@ -2,10 +2,10 @@

PortSystem 1.0
name octave
version 2.1.72
revision 5
version 2.9.9
revision 0
categories math science
maintainers persquare@mac.com persquare@users.sourceforge.net
maintainers andre@splunk.com
platforms darwin
description a Matlab-like environment for numerical analysis
long_description \
Expand All @@ -20,10 +20,10 @@ homepage http://www.octave.org
master_sites ftp://ftp.octave.org/pub/octave/bleeding-edge/

use_bzip2 yes
checksums md5 47012ee5efee3a36d04fea3341748862
checksums md5 a76a6d88f414285472896a63e4282b7f

patchfiles patch-configure-gcc34argbug \
patch-configure-casesensitivefs
patch.args -p1
patchfiles patch-configure-uglydefs

depends_build bin:texinfo:texinfo \
bin:tex:teTeX
Expand Down Expand Up @@ -76,17 +76,19 @@ platform darwin 8 powerpc {
platform darwin 8 i386 {
depends_run-delete port:gcc34
depends_run-append port:gcc42

configure.env-delete CC="gcc-dp-3.4"
configure.env-delete CXX="g++-dp-3.4"
configure.env-delete F77="g77-dp-3.4"

configure.env-delete FLIBS="-lg2c"

configure.env-append CC="gcc-dp-4.2"
configure.env-append CXX="g++-dp-4.2"
configure.env-append F77="gfortran-dp-4.2"
configure.env-append FLIBS="-lgfortran"

configure.args-delete --disable-static
configure.args-delete --enable-dl
configure.args-delete --enable-shared
configure.args-append --with-blas="-framework Accelerate"
}

Expand Down
12 changes: 12 additions & 0 deletions math/octave/files/patch-configure-uglydefs
@@ -0,0 +1,12 @@
--- octave-2.1.73.orig/configure 2006-03-20 13:12:22.000000000 -0800
+++ octave-2.1.73/configure 2006-10-29 16:42:30.000000000 -0800
@@ -21460,9 +21460,6 @@


case "$canonical_host_type" in
- *-*-darwin*)
- UGLY_DEFS=`echo $DEFS | sed 's,\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",g'`
- ;;
*)
UGLY_DEFS=`echo $DEFS | sed 's,\\",\\\\\\\\\\\\\\\\\\",g'`
;;

0 comments on commit bf45845

Please sign in to comment.