Ticket #43738: patch-gnuplot-pango.diff

File patch-gnuplot-pango.diff, 1.2 KB (added by pixilla (Bradley Giesbrecht), 10 years ago)
  • math/gnuplot/Portfile

     
    100100}
    101101
    102102variant pangocairo description "Enable cairo-based terminals" {
    103     depends_lib-append      path:lib/pkgconfig/pango.pc:pango
    104103    configure.args-delete   --without-cairo
    105104}
    106105
     
    111110
    112111variant wxwidgets description "Enable wxt terminal" {
    113112    wxWidgets.use           wxWidgets-3.0
    114     depends_lib-append      port:${wxWidgets.port} path:lib/pkgconfig/pango.pc:pango
     113    depends_lib-append      port:${wxWidgets.port}
    115114    configure.args-delete   --disable-wxwidgets
    116115    configure.args-append   --with-wx-config=${wxWidgets.wxdir}
    117116}
     
    138137    default_variants-append +wxwidgets
    139138}
    140139
     140if {[variant_isset pangocairo] || [variant_isset wxwidgets]} {
     141    depends_lib-append      path:lib/pkgconfig/pango.pc:pango
     142}
    141143# Building and installing TeX macro files for TikZ could/should be done by gnuplot's Makefile,
    142144# but without a patch that would require a dependency on texlive.
    143145# Apart from that the files would fly to the wrong place in TDS,