Date: Sat, 15 Sep 2018 12:14:18 -0500 From: Greg Kennedy <kennedy.greg@gmail.com> To: "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org> Subject: graphics/php*-gd requires X11 by default Message-ID: <CAN1%2BP_1Ru47VHkXmHovZuaiE1SrPZo70ZsAzHJE3jGTR%2BGkFnA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
I sent an email to the maintainer of these ports (tz@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN1%2BP_1Ru47VHkXmHovZuaiE1SrPZo70ZsAzHJE3jGTR%2BGkFnA>