New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 79965


Ignore:
Timestamp:
06/30/11 18:10:42 (4 years ago)
Author:
vinc17@…
Message:

pari:

  • bump to 2.5.0;
  • removed the gmp variant (now always use GMP, as recommended by the developers);
  • changed how high-resolution plotting functions are supported: use --graphic=none by default to avoid huge dependencies (no support for these functions), and added variants x11 and fltk to choose which library to use for the support of these functions (currently on my machine, x11 seems much less buggy than fltk).
Location:
trunk/dports/math/pari
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/math/pari/Portfile

    r67323 r79965  
    55 
    66name                pari 
    7 version             2.3.5 
    8 revision            1 
     7version             2.5.0 
    98categories          math 
    109platforms           darwin 
     
    1615homepage            http://pari.math.u-bordeaux.fr/ 
    1716master_sites        ${homepage}/pub/pari/unix/ 
    18 checksums           md5     6077c6db56fdd32e39a06a9bf320e1f7 \ 
    19                     sha1    f211ccfe42a4b18dbcde832dfd1ece6f477f4966 \ 
    20                     rmd160  488adf3af5398d0ab5390eb86b65cd79bd1044c5 
    21 depends_lib         port:xorg-libX11 port:ncurses port:readline 
     17checksums           md5     0b595a1345679ff482785a686c863e9f \ 
     18                    sha1    d96250cd8b3e426f548a832f2f44fdfd30fd32b6 \ 
     19                    rmd160  f9b5375da10bfc5672fbe8b4ab4ac1eb0772b572 
     20depends_lib         port:gmp port:ncurses port:readline 
    2221 
    2322build.target        gp 
     
    2827                    LIBRARY_PATH=${prefix}/lib 
    2928 
    30 configure.args      --mandir=${prefix}/share/man --with-readline 
     29# Always use GMP (forced by --with-gmp), as advised by the PARI developers: 
     30#   http://www.math.u-bordeaux.fr/~belabas/pari/doc/faq.html#gnump 
     31# There are no reasons not to use it. If a no_gmp variant is needed, 
     32# one would need --without-gmp, as by default, PARI's Configure will 
     33# choose GMP if it can find it. 
     34configure.args      --mandir=${prefix}/share/man --with-gmp --with-readline \ 
     35                    --graphic=none 
    3136configure.universal_args-delete --disable-dependency-tracking 
     37 
     38patchfiles patch-Makefile.SH.diff 
     39 
     40post-patch { 
     41    reinplace "s|-dylib_|-|g" \ 
     42      ${worksrcpath}/config/Makefile.SH \ 
     43      ${worksrcpath}/config/get_dlld 
     44} 
    3245 
    3346pre-configure { 
     
    4659} 
    4760 
    48 variant gmp description {GNU MP support} { 
    49     depends_lib-append port:gmp 
    50     configure.args-append --with-gmp 
     61# Qt support doesn't work with: 
     62#   depends_lib-append port:qt4-mac 
     63#   configure.args-delete --graphic=none 
     64#   configure.args-append --graphic=Qt --with-qt=${prefix} 
     65# Configure succeeds, but the build of src/graph/plotQt.c fails because 
     66# ${prefix}/include/Qt is not in the include search path. 
     67 
     68# Plotting works with X11, but the redraw after a window resize is 
     69# sometimes incorrect. 
     70variant x11 conflicts fltk description {Build with X11 support for the high-resolution plotting functions} { 
     71    depends_lib-append port:xorg-libX11 
     72    configure.args-delete --graphic=none 
     73    configure.args-append --graphic=X11 
     74} 
     75 
     76# Plotting works with fltk @1.1.10_3, but the GUI part freezes 
     77# (a Force Quit is needed). 
     78variant fltk conflicts x11 description {Build with FLTK support for the high-resolution plotting functions} { 
     79    depends_lib-append port:fltk 
     80    configure.args-delete --graphic=none 
     81    configure.args-append --graphic=fltk 
    5182} 
    5283 
Note: See TracChangeset for help on using the changeset viewer.