ports/179481: commit references a PR
dfilter service
dfilter at FreeBSD.ORG
Sun Jun 23 03:40:01 UTC 2013
The following reply was made to PR ports/179481; it has been noted by GNATS.
From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/179481: commit references a PR
Date: Sun, 23 Jun 2013 03:36:37 +0000 (UTC)
Author: swills
Date: Sun Jun 23 03:33:41 2013
New Revision: 321608
URL: http://svnweb.freebsd.org/changeset/ports/321608
Log:
- Make X11 dependency on ImageMagick optional
PR: ports/179481
Submitted by: David Demelier <demelier.david at gmail.com>
Modified:
head/graphics/rubygem-rmagick/Makefile (contents, props changed)
Modified: head/graphics/rubygem-rmagick/Makefile
==============================================================================
--- head/graphics/rubygem-rmagick/Makefile Sun Jun 23 02:26:26 2013 (r321607)
+++ head/graphics/rubygem-rmagick/Makefile Sun Jun 23 03:33:41 2013 (r321608)
@@ -8,10 +8,19 @@ MASTER_SITES= RG
MAINTAINER= ruby at FreeBSD.org
COMMENT= Ruby binding for ImageMagick
-LIB_DEPENDS= MagickWand:${PORTSDIR}/graphics/ImageMagick
-
USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
+OPTIONS_DEFINE= X11
+OPTIONS_DEFAULT= X11
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MX11}
+LIB_DEPENDS= MagickWand:${PORTSDIR}/graphics/ImageMagick
+.else
+LIB_DEPENDS= MagickWand:${PORTSDIR}/graphics/ImageMagick-nox11
+.endif
+
.include <bsd.port.mk>
_______________________________________________
svn-ports-all at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe at freebsd.org"
More information about the freebsd-ruby
mailing list