Changeset 97995


Ignore:
Timestamp:
Sep 21, 2012, 4:35:11 PM (12 years ago)
Author:
michaelld@…
Message:

octave-devel :

  • upgrade to 3.6.3_0;
  • add dependency texlive-latex to +doc variant;
  • fix detection of use of "-framework Carbon" by using APPLE_CXX=/usr/bin/g++ instead of the selected compiler (e.g., CXX=${prefix}/bin/g++-mp-4.7);
  • fix a problem with framework accelerate flags in mkoctfile.
Location:
trunk/dports/math/octave-devel
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/math/octave-devel/Portfile

    r97652 r97995  
    55
    66name                octave-devel
    7 version             3.6.2
    8 revision            1
     7version             3.6.3
    98conflicts           octave
    109categories          math science
     
    2524use_bzip2           yes
    2625
    27 checksums           rmd160  1bf26b238d2bba461c5902d091088533c733439b \
    28                     sha256  0bb69b93d0bee872308a7944f1ebbe948f55cd4ae55beab38f05950e1b45c4ae
     26checksums           rmd160  1b0f75da1efc77cef0698a7affe56a477430cc1f \
     27                    sha256  e37d09550f1cb406745619a5602aa3e8a97d2fe056b5c770db9984e2fc162886
    2928
    3029depends_build       port:bison \
     
    7069                    --with-umfpack="-lumfpack -lSuiteSparse"
    7170
    72 #                    --without-framework-carbon
    73 
    7471# octave uses a number of other ports to create sources from template:
    7572# perl, gawk, gsed, flex, bison, texinfo.  Make sure these are the
     
    8481                     SED="${prefix}/bin/gsed" \
    8582                     TEXI2DVI="${prefix}/bin/texi2dvi" \
    86                      TEXI2PDF="${prefix}/bin/texi2pdf"
     83                     TEXI2PDF="${prefix}/bin/texi2pdf" \
     84                     APPLE_CXX="/usr/bin/g++"
    8785configure.cppflags
    8886configure.ldflags
     87
     88pre-build {
     89    reinplace "/'display\.cc'/s@\$(CXX)@\$(APPLE_CXX)@g" \
     90        ${worksrcpath}/src/Makefile
     91}
     92
     93build.env-append APPLE_CXX="/usr/bin/g++"
    8994
    9095test.run            yes
     
    130135variant accelerate description {use BLAS from Apple's Accelerate.framework} conflicts atlas {
    131136    depends_lib-append      port:dotwrp
    132     configure.args-append   --with-blas="-ldotwrp -framework Accelerate"
    133     configure.args-append   --with-lapack="-framework Accelerate"
     137    configure.args-append   --with-blas="-ldotwrp -Wl,-framework -Wl,Accelerate"
     138    configure.args-append   --with-lapack="-Wl,-framework -Wl,Accelerate"
    134139}
    135140
     
    182187variant docs description {Enable creation and installation of documentation} {
    183188    depends_run-append port:texlive-basic
     189    # latex needed for lcircle10 font etc.
     190    depends_build-append port:texlive-latex
    184191    configure.args-replace s|--disable-docs|--enable-docs|
    185192}
  • trunk/dports/math/octave-devel/files/patch-configure.diff

    r87964 r97995  
    1 --- configure.orig      2011-06-25 10:04:48.000000000 +0200
    2 +++ configure   2011-06-25 10:05:19.000000000 +0200
    3 @@ -33171,6 +33171,21 @@
     1--- configure.orig      2012-09-21 11:41:47.000000000 -0400
     2+++ configure   2012-09-21 11:42:36.000000000 -0400
     3@@ -32450,8 +32450,8 @@
     4     LDFLAGS="$LDFLAGS -framework Carbon"
     5     ac_ext=cpp
     6 ac_cpp='$CXXCPP $CPPFLAGS'
     7-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     8-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     9+ac_compile='$APPLE_CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     10+ac_link='$APPLE_CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     11 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     12 
     13     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     14@@ -37034,6 +37034,21 @@
    415 
    516   ## fltk (www.fltk.org)
     
    2334 # Check whether --with-fltk-prefix was given.
    2435 if test "${with_fltk_prefix+set}" = set; then :
    25 @@ -33247,6 +33262,7 @@
     36@@ -37110,6 +37125,7 @@
    2637 $as_echo "no" >&6; }
    2738 fi
  • trunk/dports/math/octave-devel/files/patch-src-display.cc.diff

    r88087 r97995  
    1 --- src/display.cc.orig 2011-12-14 15:03:12.000000000 -0500
    2 +++ src/display.cc      2011-12-14 15:25:30.000000000 -0500
    3 @@ -39,6 +39,29 @@
     1--- src/display.cc.orig 2012-09-21 11:29:13.000000000 -0400
     2+++ src/display.cc      2012-09-21 11:29:27.000000000 -0400
     3@@ -41,6 +41,29 @@
    44 
    55 display_info *display_info::instance = 0;
Note: See TracChangeset for help on using the changeset viewer.