Ticket #21922: Portfile-rrdtool.diff

File Portfile-rrdtool.diff, 957 bytes (added by mlund (Mikael Lund), 15 years ago)

Portfile patch

  • Portfile

    old new  
    3232
    3333depends_lib     port:fftw-3-single port:openmotif
    3434
    35 configure.args  --bindir=${prefix}/lib/${name}/bin --with-x
     35configure.args  --bindir=${prefix}/lib/${name}/bin --enable-shared --with-x
    3636
    3737variant nox description {Disable X11/Motif GUI} {
    3838  depends_lib-delete       port:openmotif
     
    5151  configure.compiler       macports-gcc-4.2
    5252}
    5353
     54platform darwin 10 {
     55  configure.args-append    --enable-apple-64bit
     56  depends_build-delete     port:gcc42
     57  configure.compiler       gcc-4.2
     58}
     59
     60if {${os.major}>8} {
     61  variant mpi_system conflicts openmpi description {Enable multiple CPU's using system OpenMPI} {
     62  configure.args-append    --enable-mpi
     63}}
     64
    5465variant gcc43 conflicts gcc44 description {build with macports-gcc-4.3} {
    5566  depends_build-delete         port:gcc42
    5667  depends_build-append         port:gcc43