Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Mar 2009 20:47:15 +0300
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        freebsd-ports@freebsd.org
Subject:   Re: Configuring 'RUN_DEPENDS'
Message-ID:  <20090303174715.GD55713@hades.panopticon>
In-Reply-To: <20090303114755.326b7c7d@scorpio>
References:  <20090303072936.0e154820@scorpio> <20090303153739.GC55713@hades.panopticon> <20090303114755.326b7c7d@scorpio>

next in thread | previous in thread | raw e-mail | index | archive | help
* Jerry (gesbbb@yahoo.com) wrote:

> >No, you don't. clamav and clamav-devel are conflicting ports that
> >install the same files, so should you depend on clamav as
> >
> >RUN_DEPENDS=	clamscan:${PORTSDIR}/security/clamav
> >or
> >LIB_DEPENDS=	clamav:${PORTSDIR}/security/clamav
> 
> OK, I understand what you are saying. However, the script that the port
> will install requires a version of Clamav >= 0.94.2 to work. Would
> prefixing either clamscan or clamav with >=0.94.2 work? Unfortunately,
> I am not at the computer where the test Makefile, etc. is located to
> try it out myself.

As far as I understand, that won't work with clamav-devel.
RUN_DEPENDS=	clamav>=0.94.2:${PORTSDIR}/security/clamav
makes a port depend not on installed file but on specific package,
so clamav-devel will likely not match this rule. I think there's
no need in such strict dependency, as clamav 0.94.2 is in the tree
for 3 months already.

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amdmi3@amdmi3.ru  ..:  jabber: amdmi3@jabber.ru    http://www.amdmi3.ru



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