From owner-freebsd-questions@FreeBSD.ORG Fri Jun 24 18:19:48 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C3E41065676 for ; Fri, 24 Jun 2011 18:19:48 +0000 (UTC) (envelope-from doug@fledge.watson.org) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by mx1.freebsd.org (Postfix) with ESMTP id CF5758FC18 for ; Fri, 24 Jun 2011 18:19:47 +0000 (UTC) Received: from fledge.watson.org (localhost.watson.org [127.0.0.1]) by fledge.watson.org (8.14.4/8.14.4) with ESMTP id p5OIJlei029340; Fri, 24 Jun 2011 14:19:47 -0400 (EDT) (envelope-from doug@fledge.watson.org) Received: from localhost (doug@localhost) by fledge.watson.org (8.14.4/8.14.4/Submit) with ESMTP id p5OIJkB7029337; Fri, 24 Jun 2011 14:19:46 -0400 (EDT) (envelope-from doug@fledge.watson.org) Date: Fri, 24 Jun 2011 14:19:46 -0400 (EDT) From: doug To: Michael Powell In-Reply-To: Message-ID: References: <20110624051018.320540@gmx.com> <86k4cbnv2u.fsf@red.stonehenge.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (fledge.watson.org [127.0.0.1]); Fri, 24 Jun 2011 14:19:47 -0400 (EDT) Cc: freebsd-questions@freebsd.org Subject: Re: Installing X11 gives perl version conflict X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: doug@safeport.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jun 2011 18:19:48 -0000 On Fri, 24 Jun 2011, Michael Powell wrote: > doug@safeport.com wrote: > >> On Fri, 24 Jun 2011, Randal L. Schwartz wrote: >> >>>>>>>> "Dieter" == Dieter BSD writes: >>> >>> Dieter> Attempt to install package xf86-video-fbdev-0.4.2.tbz >>> Dieter> gives conflict between perl-5.10.1_3 and perl-5.12.3 >>> Dieter> even when installing into clean directory tree. >>> >>> Packages seem like a great idea when you get started, but they're all >>> built with the default configs, and those don't necessarily line up. >>> >>> Always build from source. Always build from source. >>> >>> When you installed 5.12 Perl, it put a marker in /etc/make.conf such >>> that had you built the xf86-video-fbdev from source, it would have >>> depended on 5.12 Perl, not the 5.10 Perl baked in to the default >>> package. Do that, and all will be well. >>> >>> Yes, I had to learn this the hard way a year ago, so now I pass along >>> that knowledge. :) >>> >> I had the same error. Can the Make files either have this as a warning or >> change the dependency to be any Perl5, or whatever the 'real' dependency >> is? This was not an issue before Perl was removed from the base system and >> Xorg was split into its 200 (or so) component parts. >> > > Read /usr/ports/Mk/bsd.perl.mk. I think mostly many of the variables > contained within may be set in /etc/make.conf and can be picked up at build > time by make. Particularly interesting were PERL_VERSION, PERL_PORT, and > USE_PERL, for example. Reading down into the contents will point to how the > variables get used. > C o o l - thanks Mike