[Bug 233364] graphics/GraphicsMagick: fixes and improves options management

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Nov 21 00:45:30 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233364

            Bug ID: 233364
           Summary: graphics/GraphicsMagick: fixes and improves options
                    management
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet at FreeBSD.org
          Reporter: phascolarctos at protonmail.ch
             Flags: maintainer-feedback?(sunpoet at FreeBSD.org)
          Assignee: sunpoet at FreeBSD.org

Created attachment 199394
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=199394&action=edit
GraphicsMagick patch

My patch extends the number of available options consistently with what is
listed by the configure script (./configure --help) in the distfile. The
extension is also necessary to prevent undeclared dependencies to be
established with ports that might be already installed in the system.

- Reorders variables consitently with the official order: moves USE_LD line in
the USE variables block, puts all OPTIONS variables in the same block (the last
block).
- Adds options BZIP2, LZMA, TRIO, UMEM, ZLIB, ZSTD.
- Makes BZIP2, LZMA and ZLIB default, as the necessary libraries for them are
in base system.
- Corrects LCMS2_CONFIGURE= in LCMS2_CONFIGURE_WITH=.
- Bumps PORTREVISION, because for at least one of the new options (ZSTD) if the
necessary library was present by chance on the system (i.e. if archivers/zstd
was installed), then GraphicsMagick would link to libzstd.so without having
archivers/zstd as a dependency (and uninstalling archivers/zstd would then
break GraphicsMagick without any warning).

The patch has been successfully tested with portlint and poudriere
(11.2-RELEASE amd64/i386).

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


More information about the freebsd-ports-bugs mailing list