#43738: gnuplot: upgrade to 5.0 ----------------------+---------------------- Reporter: mojca@… | Owner: mojca@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: gnuplot | ----------------------+---------------------- Comment (by pixilla@…): I was not aware of #!diff :) How about this: {{{ #!diff Index: math/gnuplot/Portfile =================================================================== --- math/gnuplot/Portfile (revision 120045) +++ math/gnuplot/Portfile (working copy) @@ -100,7 +100,6 @@ } variant pangocairo description "Enable cairo-based terminals" { - depends_lib-append path:lib/pkgconfig/pango.pc:pango configure.args-delete --without-cairo } @@ -111,7 +110,7 @@ variant wxwidgets description "Enable wxt terminal" { wxWidgets.use wxWidgets-3.0 - depends_lib-append port:${wxWidgets.port} path:lib/pkgconfig/pango.pc:pango + depends_lib-append port:${wxWidgets.port} configure.args-delete --disable-wxwidgets configure.args-append --with-wx-config=${wxWidgets.wxdir} } @@ -138,6 +137,9 @@ default_variants-append +wxwidgets } +if {[variant_isset pangocairo] || [variant_isset wxwidgets]} { + depends_lib-append path:lib/pkgconfig/pango.pc:pango +} # Building and installing TeX macro files for TikZ could/should be done by gnuplot's Makefile, # but without a patch that would require a dependency on texlive. # Apart from that the files would fly to the wrong place in TDS, }}} -- Ticket URL: <https://trac.macports.org/ticket/43738#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X