Date: Wed, 5 Feb 2003 22:12:53 -0500 From: "Matthew Emmerton" <matt@gsicomp.on.ca> To: "david taylor" <dtayl@rocketmail.com>, <freebsd-ports@FreeBSD.ORG> Subject: Re: Declaring package dependencies Message-ID: <007301c2cd8d$a3959fd0$1200a8c0@gsicomp.on.ca> References: <20030206020742.2656.qmail@web41301.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007301c2cd8d$a3959fd0$1200a8c0>