From owner-freebsd-ports@FreeBSD.ORG Sun Dec 4 11:02:37 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org 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 6F96016A41F for ; Sun, 4 Dec 2005 11:02:37 +0000 (GMT) (envelope-from lupe@lupe-christoph.de) Received: from buexe.b-5.de (buexe.b-5.de [84.19.0.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9562E43D64 for ; Sun, 4 Dec 2005 11:02:34 +0000 (GMT) (envelope-from lupe@lupe-christoph.de) Received: from antalya.lupe-christoph.de (antalya.lupe-christoph.de [172.17.0.9]) by buexe.b-5.de (8.12.3/8.12.3/b-5/buexe-3.4) with ESMTP id jB4B2QLD029603; Sun, 4 Dec 2005 12:02:26 +0100 Received: from localhost (localhost [127.0.0.1]) by antalya.lupe-christoph.de (Postfix) with ESMTP id 0045534113; Sun, 4 Dec 2005 12:02:20 +0100 (CET) Received: from antalya.lupe-christoph.de ([127.0.0.1]) by localhost (antalya [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22124-03; Sun, 4 Dec 2005 12:02:15 +0100 (CET) Received: by antalya.lupe-christoph.de (Postfix, from userid 1000) id E96B8344A6; Sun, 4 Dec 2005 12:02:15 +0100 (CET) Date: Sun, 4 Dec 2005 12:02:15 +0100 To: "Loren M. Lang" Message-ID: <20051204110215.GA6178@lupe-christoph.de> References: <20051204095114.GA11064@alzatex.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051204095114.GA11064@alzatex.com> User-Agent: Mutt/1.5.9i From: lupe@lupe-christoph.de (Lupe Christoph) X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at lupe-christoph.de Cc: freebsd-ports@freebsd.org Subject: Re: Perl script installation X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2005 11:02:37 -0000 On Sunday, 2005-12-04 at 01:51:15 -0800, Loren M. Lang wrote: > I am updating the port for a perl script that depends on > Time::ParseDate. When I installed the port for the first time on a > system, it installed it's dependency first, then successfully installed > itself. Though, when I tried to run it, it couldn't find > Time::ParseDate because that module was installed under the directory > for 5.8.7, not 5.6.2 which is the version of the standard perl > executable. I believe both Time::ParseDate can run under 5.6.2 and > dirvish can run under 5.8.7 without any problems, but how do I check > when version I need or force dependencies to be installed for a certain > system? Is this just a problem with the system I'm testing on or do I > need to worry about other people having problems with it? You should always use the perl version selected by the ports make environment. That is ${PERL5}. Substitute @@PERL@@ with $(PERL5) in your shebang line, or something similar. HTH, Lupe Christoph -- | You know we're sitting on four million pounds of fuel, one nuclear | | weapon and a thing that has 270,000 moving parts built by the lowest | | bidder. Makes you feel good, doesn't it? | | Rockhound in "Armageddon", 1998, about the Space Shuttle |