From owner-freebsd-questions@FreeBSD.ORG Fri Jun 24 15:19:31 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 E92641065670 for ; Fri, 24 Jun 2011 15:19:31 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id A51E48FC14 for ; Fri, 24 Jun 2011 15:19:31 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Qa8AM-0002bh-90 for freebsd-questions@freebsd.org; Fri, 24 Jun 2011 17:19:30 +0200 Received: from pool-173-79-85-36.washdc.fios.verizon.net ([173.79.85.36]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Jun 2011 17:19:30 +0200 Received: from nightrecon by pool-173-79-85-36.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Jun 2011 17:19:30 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Fri, 24 Jun 2011 11:20:46 -0400 Lines: 39 Message-ID: References: <20110624051018.320540@gmx.com> <86k4cbnv2u.fsf@red.stonehenge.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-85-36.washdc.fios.verizon.net Subject: Re: Installing X11 gives perl version conflict X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jun 2011 15:19:32 -0000 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. -Mike [snip]