[patch] graphics/ruby-rmagick depends on ImageMagick with X11

David Demelier demelier.david at gmail.com
Fri Apr 12 07:33:42 UTC 2013


There is something I don't understand very well, I've set WITHOUT_X11
and OPTIONS_UNSET=X11 in my /etc/make.conf, but installing www/redmine
will break (in poudriere) because of duplicated origin for
ImageMagick. Some of the ports will install ImageMagick-nox11 and some
others like graphics/ruby-rmagick will install ImageMagick normal.

However I see in the ImageMagick's makefile that the conditional X11
option will add the suffix -nox11 so why graphics/ruby-rmagick will
pull a dependency graphics/ImageMagick and not

I think there is a design problem here but I guess this has been
discussed a lot, for a temporarly workaround I have the following

--- 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 at FreeBSD.org
 COMMENT=       A Ruby binding for ImageMagick

+.include <bsd.port.options.mk>
 LIB_DEPENDS=   MagickWand:${PORTSDIR}/graphics/ImageMagick
+LIB_DEPENDS=   MagickWand:${PORTSDIR}/graphics/ImageMagick-nox11

 USE_BZIP2=     yes
 USE_RUBY=      yes

Demelier David

More information about the freebsd-ports mailing list