Changeset 79965
- Timestamp:
- 06/30/11 18:10:42 (4 years ago)
- Location:
- trunk/dports/math/pari
- Files:
-
- 2 added
- 1 edited
-
Portfile (modified) (4 diffs)
-
files (added)
-
files/patch-Makefile.SH.diff (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/math/pari/Portfile
r67323 r79965 5 5 6 6 name pari 7 version 2.3.5 8 revision 1 7 version 2.5.0 9 8 categories math 10 9 platforms darwin … … 16 15 homepage http://pari.math.u-bordeaux.fr/ 17 16 master_sites ${homepage}/pub/pari/unix/ 18 checksums md5 6077c6db56fdd32e39a06a9bf320e1f7\19 sha1 f211ccfe42a4b18dbcde832dfd1ece6f477f4966 \20 rmd160 488adf3af5398d0ab5390eb86b65cd79bd1044c521 depends_lib port: xorg-libX11port:ncurses port:readline17 checksums md5 0b595a1345679ff482785a686c863e9f \ 18 sha1 d96250cd8b3e426f548a832f2f44fdfd30fd32b6 \ 19 rmd160 f9b5375da10bfc5672fbe8b4ab4ac1eb0772b572 20 depends_lib port:gmp port:ncurses port:readline 22 21 23 22 build.target gp … … 28 27 LIBRARY_PATH=${prefix}/lib 29 28 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. 34 configure.args --mandir=${prefix}/share/man --with-gmp --with-readline \ 35 --graphic=none 31 36 configure.universal_args-delete --disable-dependency-tracking 37 38 patchfiles patch-Makefile.SH.diff 39 40 post-patch { 41 reinplace "s|-dylib_|-|g" \ 42 ${worksrcpath}/config/Makefile.SH \ 43 ${worksrcpath}/config/get_dlld 44 } 32 45 33 46 pre-configure { … … 46 59 } 47 60 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. 70 variant 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). 78 variant 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 51 82 } 52 83
Note: See TracChangeset
for help on using the changeset viewer.

