Configuring 'RUN_DEPENDS'
Dmitry Marakasov
amdmi3 at amdmi3.ru
Wed Mar 4 05:56:32 PST 2009
* Jerry (gesbbb at yahoo.com) wrote:
> >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.
>
> I have given up on the idea too. There is probably a way; however, it
> is beyond my meager skills. I am just using:
>
> clamav>=0.94.2:${PORTSDIR}/security/clamav
That's just what I said that's no need to use.
RUN_DEPENDS+= ${LOCALBASE}/bin/clamscan:${PORTSDIR}/security/clamav
and/or
BUILD_DEPENDS+= ${LOCALBASE}/bin/clamscan:${PORTSDIR}/security/clamav
-or-
LIB_DEPENDS+= clamav:${PORTSDIR}/security/clamav
is what you probably need.
--
Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D
amdmi3 at amdmi3.ru ..: jabber: amdmi3 at jabber.ru http://www.amdmi3.ru
More information about the freebsd-ports
mailing list