From owner-freebsd-questions Fri Feb 16 6:37:48 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 1377437B401 for ; Fri, 16 Feb 2001 06:37:46 -0800 (PST) Received: (qmail 8420 invoked by uid 100); 16 Feb 2001 14:37:45 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14989.15161.489063.196205@guru.mired.org> Date: Fri, 16 Feb 2001 08:37:45 -0600 To: fpassera@freesurf.fr Cc: questions@freebsd.org Subject: Re: will the XFree86-3 package be installed ? In-Reply-To: <100463721@toto.iv> X-Mailer: VM 6.89 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Rfpassera@freesurf.fr types: > Many packages that runs under X require the package XFree86-3. Suppose that > you have installed the package XFree86-4 to run X. When you will install a > package that require XFree86-3 (xview-3.2.1_1 for example), will the > XFree86-3 package be installed ? If yes, is this a problem ? It depends. Package/port dependencies are for files, not packages. I.e. - xview-3.2.1 needs some X libraries, etc. So the package should check for one of those, and if it exists, it won't install a package even if the package that installed the file isn't the one it thinks it should be. Of course, if the file that's actually installed doesn't provide the functionality the package is looking for, you're going to be hosed at runtime. While X should be backwards compatible, you can buy some insurance by building from ports. In which case, make sure you add XFREE86_VERSION=4 to /etc/make.conf. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message