[Bug 272599] math/gnuplot-lite: remove erroneous --without-gd in math/gnuplot/Makefile

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 19 Jul 2023 14:26:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272599

            Bug ID: 272599
           Summary: math/gnuplot-lite: remove erroneous --without-gd in
                    math/gnuplot/Makefile
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: glewis@FreeBSD.org
          Reporter: gert@greenie.muc.de
             Flags: maintainer-feedback?(glewis@FreeBSD.org)
          Assignee: glewis@FreeBSD.org

Created attachment 243487
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=243487&action=edit
patch to remove --without-gd

Hi,

math/gnuplot-lite currently builds without "gd" support, which means that many
bitmap-based output formats (gif, jepg, png, etc) are unavailable.

From math/gnuplot/Makefile:

...
.if defined(LITE)
CONFIGURE_ARGS+=--disable-x11-mbfonts \
                --disable-x11-external \
                --disable-wxwidgets \
                --without-x \
                --without-ggi \
                --without-gd \                             <<<<
...

while at the same time actually pulling in all the required dependencies(!)

LIB_DEPENDS+=   libfontconfig.so:x11-fonts/fontconfig \
                libfreetype.so:print/freetype2 \
                libharfbuzz.so:print/harfbuzz \
                libgd.so:graphics/gd \                     <<<
                libpng.so:graphics/png \                   <<<
                libwebp.so:graphics/webp \
                libtiff.so:graphics/tiff

- so, nothing gained, dependency-wise, but functionality-wise, the resulting
port is not as useful as it could be.

I propose to remove the "--without-gd" part from CONFIGURE_ARGS (in
math/gnuplot) to resolve this misalignment in a positive way.

I mailed the port maintainer about this a few months ago, but never heard back
- so, retrying as a PR.

-- 
You are receiving this mail because:
You are the assignee for the bug.