From owner-freebsd-ports Wed Feb 5 19:13:59 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A477037B401 for ; Wed, 5 Feb 2003 19:13:58 -0800 (PST) Received: from tomts23-srv.bellnexxia.net (tomts23.bellnexxia.net [209.226.175.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id A04A943F85 for ; Wed, 5 Feb 2003 19:13:57 -0800 (PST) (envelope-from matt@gsicomp.on.ca) Received: from gabby.gsicomp.on.ca ([65.95.176.5]) by tomts23-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20030206031355.EFTJ20375.tomts23-srv.bellnexxia.net@gabby.gsicomp.on.ca>; Wed, 5 Feb 2003 22:13:55 -0500 Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by gabby.gsicomp.on.ca (8.12.6/8.12.6) with SMTP id h163AojC067002; Wed, 5 Feb 2003 22:10:50 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <007301c2cd8d$a3959fd0$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "david taylor" , References: <20030206020742.2656.qmail@web41301.mail.yahoo.com> Subject: Re: Declaring package dependencies Date: Wed, 5 Feb 2003 22:12:53 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Hi - > > I'm new to FreeBSD ports and trying to control > dependencies. > > Package #2 has a runtime dependency on executables in > package #1. When I use RUN_DEPENDS when creating package > #2, the name of package #1 is put into package #2, and when > package #2 is added, there is a check for package #1. > > The problem is that, by convention, the name of package #1 > includes the version. So the dependency is on a specific > version and fails if another version of package #1 is > installed. Is there any way to declare that any version of > package #1 can satisfy package #2's dependency? No. The lack of such a feature is what prompted the development of the portupgrade utility, which can upgrade a port to a newer version while tweaking all the dependencies in the package database (/var/db/pkg) to not cause breakages. -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message