From owner-freebsd-ports@FreeBSD.ORG Thu Aug 4 23:04:47 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 26E1316A41F for ; Thu, 4 Aug 2005 23:04:47 +0000 (GMT) (envelope-from adamw@magnesium.net) Received: from smtp100.rog.mail.re2.yahoo.com (smtp100.rog.mail.re2.yahoo.com [206.190.36.78]) by mx1.FreeBSD.org (Postfix) with SMTP id 9A98E43D46 for ; Thu, 4 Aug 2005 23:04:46 +0000 (GMT) (envelope-from adamw@magnesium.net) Received: (qmail 76611 invoked from network); 4 Aug 2005 23:04:46 -0000 Received: from unknown (HELO ?192.168.1.142?) (tacopants@70.28.168.125 with plain) by smtp100.rog.mail.re2.yahoo.com with SMTP; 4 Aug 2005 23:04:45 -0000 Message-ID: <42F29F0D.7040307@magnesium.net> Date: Thu, 04 Aug 2005 19:04:45 -0400 From: Adam Weinberger User-Agent: Mozilla Thunderbird 1.0+ (Macintosh/20050712) MIME-Version: 1.0 To: "Brent B. Powers" References: <42F287DB.9050307@columbia.edu> In-Reply-To: <42F287DB.9050307@columbia.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: Specifying perl dependencies in a port 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: Thu, 04 Aug 2005 23:04:47 -0000 Brent B. Powers wrote: > I've a port that requires _either_ perl5 or perl5.8. This isn't a > problem on FBSD5, but on 4.11, it appears that if I build the package > on a system with 5.8, 5.8 is specified as a dependency, and if the > package is build on a system with 5.6, 5.6 is set as a dependency. > > Is there a clean way to specify (on 4.11) that we require a 'modern' perl? > > .if ${PERL_LEVEL} < 500600 > IGNORE= Requires perl 5.6 or better. Please install lang/perl5.8 and > retry > .endif Instead of marking it IGNORE there, why not just add a BUILD_/RUN_DEPENDS on lang/perl5.8? # Adam -- Adam Weinberger adamw@magnesium.net || adamw@FreeBSD.org adamw@vectors.cx || adamw@gnome.org http://www.vectors.cx