[MacPorts] #46306: p5-pdl: enabling opengl support by default breaks build on the buildbots

MacPorts noreply at macports.org
Mon Dec 22 13:29:07 PST 2014


#46306: p5-pdl: enabling opengl support by default breaks build on the buildbots
----------------------+------------------------------
 Reporter:  devans@…  |      Owner:  mgrimes@…
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:            |       Port:  p5-pdl p5-opengl
----------------------+------------------------------
 OpenGL support in p5-pdl is provided by p5-opengl.  p5-opengl builds
 correctly on the average workstation but fails on the buildbots because it
 needs to access the display to configure properly and the buildbots do not
 have that access.  This in turn causes p5-pdl to fail and so on down the
 line. (My interest is p5-gimp which depends on p5-pdl and is therefore
 blocked).

 I suggest disabling opengl support by default so that the p5-pdl build
 will succeed (hopefully) on the buildbots as a tool for testing and
 verification and (license permitting) to enable distribution of binary
 images of the port.  A +opengl variant can be added to enable the
 functionality (3D graphics support) if desired by end users.

 FYI, here is the section of code in ${worksrcpath}/perldl.conf that can be
 used to disable/enable this feature
 {{{
 # Build Graphics/TriD using Perl OpenGL
 #
 # true -> use new Perl OpenGL bindings
 # false -> use legacy, deprecated X11 only bindings
 # undef -> let PDL build decide (check if Perl OpenGL is present)
 #
         USE_POGL => undef,
 #       USE_POGL => 0,
 }}}

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


More information about the macports-tickets mailing list