[MacPorts] #50199: gnuplot: opportunistically uses gtk2 when building with wxwidgets enabled

MacPorts noreply at macports.org
Mon Jan 4 15:52:35 PST 2016


#50199: gnuplot: opportunistically uses gtk2 when building with wxwidgets enabled
-----------------------+---------------------
  Reporter:  devans@…  |      Owner:  mojca@…
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  gnuplot   |
-----------------------+---------------------

Comment (by devans@…):

 This patch really is a shotgun approach because only one of configure or
 configure.in will actually be effective in any given case.  Your patch for
 configure.in should work but you need to use autoreconf in this case to
 create a corresponding configure file.  If you patch configure then it
 will work if you DON'T use autoreconf or it will get over-written.

 I usually patch configure.in (or configure.ac in more modern ports) and
 autoreconf as the code is easier to understand without all the expanded
 macros in the way.

 I do think that a rev bump is appropriate as this port is not
 distributable and people current port may link or not with gtk2 depending
 on what was active build time.  With the patch, you guarantee that they
 are not linking with gtk2.  I noticed the problem because, my gnuplot was
 built with gtk2 but I inadvertantly deactivated it during testing of p5
 -graphics-gnuplotif and got run time errors concerning the missing gtk2
 libraries and their dependencies.

 I think this issue has been beaten into submission at this point.

-- 
Ticket URL: <https://trac.macports.org/ticket/50199#comment:8>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list