Date: Mon, 22 Apr 2013 08:34:44 GMT From: David Demelier <demelier.david@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/178044: [patch] graphics/ruby-rmagick: do not force depend on ImageMagick with X11 Message-ID: <201304220834.r3M8YiTb034093@red.freebsd.org> Resent-Message-ID: <201304220840.r3M8e0JJ059872@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 178044 >Category: ports >Synopsis: [patch] graphics/ruby-rmagick: do not force depend on ImageMagick with X11 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Apr 22 08:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: David Demelier >Release: 9.1-RELEASE-p1 >Organization: >Environment: FreeBSD Pomme.malikania.fr 9.1-RELEASE-p1 FreeBSD 9.1-RELEASE-p1 #4 r248092: Mon Mar 25 19:50:38 CET 2013 root@Pomme.malikania.fr:/usr/obj/usr/src/sys/Pomme amd64 >Description: On servers allow the use of ImageMagick-nox11 for graphics/ruby-rmagick to prevent too much X11 libs. >How-To-Repeat: >Fix: --- ruby-rmagick.diff begins here --- --- Makefile.orig 2013-04-12 08:56:09.000000000 +0200 +++ Makefile 2013-04-12 09:05:52.000000000 +0200 @@ -13,7 +13,18 @@ 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 --- ruby-rmagick.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304220834.r3M8YiTb034093>