Bug 178044 - [patch] graphics/ruby-rmagick: do not force depend on ImageMagick with X11
Summary: [patch] graphics/ruby-rmagick: do not force depend on ImageMagick with X11
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-22 09:40 UTC by David Demelier
Modified: 2013-06-01 23:00 UTC (History)
0 users

See Also:


Attachments
ruby-rmagick.diff (561 bytes, patch)
2013-04-22 09:40 UTC, David Demelier
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Demelier 2013-04-22 09:40:00 UTC
On servers allow the use of ImageMagick-nox11 for graphics/ruby-rmagick to prevent too much X11 libs.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-04-22 09:40:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ruby

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Steve Wills freebsd_committer freebsd_triage 2013-06-01 19:12:49 UTC
Responsible Changed
From-To: ruby->swills

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-06-01 22:52:26 UTC
Author: swills
Date: Sat Jun  1 21:52:19 2013
New Revision: 319608
URL: http://svnweb.freebsd.org/changeset/ports/319608

Log:
  - Add X11 option
  
  PR:		ports/178044
  Submitted by:	David Demelier <demelier.david@gmail.com>

Modified:
  head/graphics/ruby-rmagick/Makefile

Modified: head/graphics/ruby-rmagick/Makefile
==============================================================================
--- head/graphics/ruby-rmagick/Makefile	Sat Jun  1 21:47:52 2013	(r319607)
+++ head/graphics/ruby-rmagick/Makefile	Sat Jun  1 21:52:19 2013	(r319608)
@@ -13,7 +13,18 @@ DIST_SUBDIR=	ruby
 MAINTAINER=	ruby@FreeBSD.org
 COMMENT=	A Ruby binding for ImageMagick
 
+OPTIONS_DEFINE=		X11
+OPTIONS_DEFAULT=	X11
+
+OPTIONSFILE?=	${PORT_DBDIR}/ruby-${PORTNAME}/options
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MX11}
 LIB_DEPENDS=	MagickWand:${PORTSDIR}/graphics/ImageMagick
+.else
+LIB_DEPENDS=	MagickWand:${PORTSDIR}/graphics/ImageMagick-nox11
+.endif
 
 USE_BZIP2=	yes
 USE_RUBY=	yes
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Steve Wills freebsd_committer freebsd_triage 2013-06-01 22:52:34 UTC
State Changed
From-To: open->closed

Committed. Thanks!