Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Oct 2016 19:01:06 -0700
From:      Cy Schubert <Cy.Schubert@komquats.com>
To:        "Sergey A. Osokin" <osa@FreeBSD.org>
Cc:        Cy Schubert <Cy.Schubert@komquats.com>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r424223 - in head/www: nginx nginx-devel
Message-ID:  <201610210201.u9L216Ug003467@slippy.cwsent.com>
In-Reply-To: Message from "Sergey A. Osokin" <osa@FreeBSD.org> of "Thu, 20 Oct 2016 23:26:53 -0000." <20161020232653.GD75495@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20161020232653.GD75495@FreeBSD.org>, "Sergey A. Osokin" writes:
> On Tue, Oct 18, 2016 at 05:54:48PM -0700, Cy Schubert wrote:
> > In message <201610182310.u9INAZXc030793@repo.freebsd.org>, "Sergey A. 
> > Osokin" w
> > rites:
> > > Author: osa
> > > Date: Tue Oct 18 23:10:35 2016
> > > New Revision: 424223
> > > URL: https://svnweb.freebsd.org/changeset/ports/424223
> > > 
> > > Log:
> > >   Use ImageMagick-nox11 instead of original one as it's more
> > >   convenient for the server-based product.
> > >   
> > >   Do not bump PORTREVISION because this change affects disabled by
> > >   default third-party modules only.
> > > 
> > > Modified:
> > >   head/www/nginx-devel/Makefile
> > >   head/www/nginx/Makefile
> > > 
> > > Modified: head/www/nginx-devel/Makefile
> > > =========================================================================
> ====
> > > =
> > > --- head/www/nginx-devel/Makefile	Tue Oct 18 23:01:42 2016	(r42422
> > > 2)
> > > +++ head/www/nginx-devel/Makefile	Tue Oct 18 23:10:35 2016	(r42422
> > > 3)
> > > @@ -714,7 +714,7 @@ LIB_DEPENDS+= 	libjpeg.so:graphics/jpeg 
> > >  		libavcodec.so:multimedia/ffmpeg \
> > >  		libavutil.so:multimedia/ffmpeg \
> > >  		libswscale.so:multimedia/ffmpeg \
> > > -		libMagickWand-6.so:graphics/ImageMagick
> > > +		libMagickWand-6.so:graphics/ImageMagick-nox11
> > >  GH_ACCOUNT+=	wandenberg:vte
> > >  GH_PROJECT+=	nginx-video-thumbextractor-module:vte
> > >  GH_TAGNAME+=	${NGINX_VIDEO_THUMBEXTRACTOR_VERSION}:vte
> > > @@ -947,8 +947,8 @@ CONFIGURE_ARGS+=--add-module=${WRKDIR}/n
> > >  
> > >  .if ${PORT_OPTIONS:MSMALL_LIGHT}
> > >  NGINX_SMALL_LIGHT_VERSION=	0.8.0
> > > -LIB_DEPENDS+=	libMagickCore-6.so:graphics/ImageMagick \
> > > -		libMagickWand-6.so:graphics/ImageMagick \
> > > +LIB_DEPENDS+=	libMagickCore-6.so:graphics/ImageMagick-nox11 \
> > > +		libMagickWand-6.so:graphics/ImageMagick-nox11 \
> > >  		libpcre.so:devel/pcre
> > 
> > This is great if you don't already have an Imagemagick already installed 
> > but if graphics/Imagemagick is a prerequisite for other installed packages 
> > a conflict will result.
> 
> I don't think this is an issue of this port only, it looks like this is an
> issue for all ports tree system, isn't it?

Correct. This however doesn't mean this is not a problem with this specific 
port. It needs to be addressed in this port. A systemic solution is also 
needed. To wait for a systemic solution is not an option because I suspect 
there is no quick solution. Though, I think it will probably involve a 
framework that provides some knobs of some sort. I haven't given any 
specific systemic solution much thought.

> 
> > Can the dependency be an option (that can be specified in poudriere options
> )?
> 
> As a workaround, probably yes, but I'm not totally sure.  Please note
> this change is affected only "custom" builds from a ports tree because this
> module is disabled by default.

That would be great! Personally, I sequester my two workhorse machines to 
occasionally refresh my package repository. poudriere options maintains my 
specific options. I'm sure others do the same. Without this it can be quite 
a hassle removing packages to replace them with others in order to install 
seemingly conflicting prerequisites in order to install others. It can 
become a tangled web of conflicting dependencies. It need not be.


-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610210201.u9L216Ug003467>