graphics/php*-gd requires X11 by default
Greg Kennedy
kennedy.greg at gmail.com
Fri May 17 01:55:01 UTC 2019
I'm raising this again as the last time I tried to check with the port
maintainer, he had not made the change, and wasn't available to do so.
Can someone change the default config for graphics/php72-gd from X11=on to
X11=off?
It will save a large number of dependencies on X11, at the cost of not
supporting this (very rarely used) image format.
On Sat, Sep 15, 2018 at 12:14 PM Greg Kennedy <kennedy.greg at gmail.com>
wrote:
> I sent an email to the maintainer of these ports (tz at freebsd.org) a few
> days ago, but didn't hear back - so I thought I'd raise the same question
> to the mailing list instead.
>
> ---
>
> Hey there! I was wondering something about the php-gd ports
> (specifically 7.2 but earlier as well). Looking at the config options
> I see this:
>
> X11=on: Enable XPM support
>
> With this option enabled php-gd can read XPixMap images, but in turn
> this pulls in a host of additional X11 dependencies. That's an awful
> lot for (usually) headless servers, especially for an image format
> that is (relatively) unused. I don't mind the option being there but
> because it is defaulted to "on", that means official FreeBSD packages
> are built with this support and all the dependencies. On my system I
> have to manually build this one port just to turn off the option.
>
> Would it be possible to modify the defaults for this port so that
> X11=off by default? Or, why is the default to "on"? (I have a guess,
> that this respects WITHOUT_X11 in /etc/make.conf, but that's useless
> for pre-built binary packages)
>
> -Greg
>
More information about the freebsd-ports
mailing list