Ticket #20622: plplot.diff

File plplot.diff, 817 bytes (added by tenomoto (Takeshi Enomoto), 15 years ago)
  • Portfile

     
    9393    }
    9494}
    9595
     96if {[variant_isset aquaterm]} {
     97    post-configure {
     98        reinplace "s|-framework AquaTerm|-F${prefix}/Library/Frameworks -framework AquaTerm|" ${worksrcpath}/cmake/modules/aqt.cmake
     99    }
     100}
    96101if {[variant_isset universal]} {
    97102    configure.args-append -DCMAKE_OSX_ARCHITECTURES=\"[strsed ${configure.universal_archs} "g| |;|"]\" -DENABLE_f77:BOOL=OFF -DENABLE_f95:BOOL=OFF
    98103}
     
    155160    configure.args-append   -DENABLE_d=ON
    156161}
    157162
     163variant aquaterm description {add support for aquaterm} {
     164    depends_lib-append      port:aquaterm
     165    configure.args-delete   -DPLD_aqt=OFF
     166    configure.args-append   -DPLD_aqt=ON \
     167}