Date: Sun, 23 Jun 2013 03:33:41 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r321608 - head/graphics/rubygem-rmagick Message-ID: <201306230333.r5N3XfqS081997@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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@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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306230333.r5N3XfqS081997>