[MacPorts] #43566: netpbm @10.66.02_1 Requesting a no_x11 variant
#43566: netpbm @10.66.02_1 Requesting a no_x11 variant --------------------------------+-------------------------------- Reporter: mthomas+macports@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: haspatch | Port: netpbm --------------------------------+-------------------------------- changeset:119542 makes netpbm require X11. The only tool in the netpbm suite that requires X11 is pamx, the image viewer. Would you create a no_x11 variant for netpbm that does not build the viewer? Sample patch file for the netpbm Porfile attached. -- Ticket URL: <https://trac.macports.org/ticket/43566> MacPorts <http://www.macports.org/> Ports system for OS X
#43566: netpbm @10.66.02_1 Requesting a no_x11 variant ---------------------------------+-------------------------- Reporter: mthomas+macports@… | Owner: ryandesign@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: netpbm | ---------------------------------+-------------------------- Changes (by mf2k@…): * owner: macports-tickets@… => ryandesign@… * keywords: haspatch => * version: 2.2.1 => Comment: In the future, please Cc the port maintainers ({{{port info --maintainers netpbm}}}). We are not creating {{{no_{foo}}}} variants anymore. Rename the variant to {{{x11}}} and make it do the reverse. See #39383. Furthermore, what if the user has the {{{xorg-libX11}}} installed? The port must make sure it does not use it in that case. -- Ticket URL: <https://trac.macports.org/ticket/43566#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#43566: netpbm @10.66.02_1 Requesting a no_x11 variant ---------------------------------+-------------------------- Reporter: mthomas+macports@… | Owner: ryandesign@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: netpbm | ---------------------------------+-------------------------- Comment (by mthomas+macports@…): Sorry, I was not aware that {{{no_{foo}}}} is no longer supported. I have attached a second version of the Portfile patch that I hope addresses the issues. Getting netpbm not to build {{{pamx}}} when X11 is installed involves patching {{{other/pamx/Makefile}}} to check for a configuration variable that I have named {{{MACPORTS_X11}}}. The patch for the {{{Makefile}}} is {{{patch-other-pamx-Makefile.diff}}}, which is also attached. -- Ticket URL: <https://trac.macports.org/ticket/43566#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts