Bug 209362 - [patch] graphics/GraphicsMagick: Turn mandatory dependencies into OPTIONS
Summary: [patch] graphics/GraphicsMagick: Turn mandatory dependencies into OPTIONS
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2016-05-07 15:27 UTC by Adam Weinberger
Modified: 2016-05-22 14:21 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Attachments
GM: OPTIONS instead of hard deps (2.15 KB, patch)
2016-05-07 15:27 UTC, Adam Weinberger
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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