Bug 209362

Summary: [patch] graphics/GraphicsMagick: Turn mandatory dependencies into OPTIONS
Product: Ports & Packages Reporter: Adam Weinberger <adamw>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Only Me Keywords: patch
Priority: --- Flags: bugzilla: maintainer-feedback? (sunpoet)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
GM: OPTIONS instead of hard deps none

Description Adam Weinberger freebsd_committer freebsd_triage 2016-05-07 15:27:26 UTC
Created attachment 170095 [details]
GM: OPTIONS instead of hard deps

All of the mandatory dependencies in GraphicsMagick are optional. On systems that have no need to process TTF fonts, or handle JP2000 images etc., it'd be nice to skip those dependencies.

The attached patch turns all those hard dependencies into OPTIONS, and then adds them all to OPTIONS_DEFAULT (so the default package doesn't change at all).
Comment 1 Adam Weinberger freebsd_committer freebsd_triage 2016-05-22 14:20:44 UTC
Committed after timeout.
Comment 2 commit-hook freebsd_committer freebsd_triage 2016-05-22 14:21:18 UTC
A commit references this bug:

Author: adamw
Date: Sun May 22 14:20:15 UTC 2016
New revision: 415633
URL: https://svnweb.freebsd.org/changeset/ports/415633

Log:
  Turn hard dependencies into OPTIONS.

  GraphicsMagick actually has the ability to be a slim package, and
  support for every format is configurable.

  All previously hard dependencies are now on by default, so the
  default package is unchanged. No PORTREVISION bump necessary.

  PR:		209362
  Approved by:	maintainer timeout (15 days)

Changes:
  head/graphics/GraphicsMagick/Makefile