From owner-freebsd-ports@FreeBSD.ORG Wed Mar 4 13:56:32 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48F68106566B for ; Wed, 4 Mar 2009 13:56:32 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [217.170.79.85]) by mx1.freebsd.org (Postfix) with ESMTP id 028CC8FC0C for ; Wed, 4 Mar 2009 13:56:31 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1LeraL-0001I4-Dr for freebsd-ports@freebsd.org; Wed, 04 Mar 2009 16:56:33 +0300 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 141F4A28 for ; Wed, 4 Mar 2009 16:55:42 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id AAC1D108839; Wed, 4 Mar 2009 16:55:49 +0300 (MSK) Date: Wed, 4 Mar 2009 16:55:49 +0300 From: Dmitry Marakasov To: freebsd-ports@freebsd.org Message-ID: <20090304135549.GA85379@hades.panopticon> References: <20090303072936.0e154820@scorpio> <20090303153739.GC55713@hades.panopticon> <20090303114755.326b7c7d@scorpio> <20090303174715.GD55713@hades.panopticon> <20090303173814.488a8860@scorpio> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20090303173814.488a8860@scorpio> User-Agent: Mutt/1.5.19 (2009-01-05) Subject: Re: Configuring 'RUN_DEPENDS' X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Mar 2009 13:56:32 -0000 * Jerry (gesbbb@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@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru