From owner-freebsd-ports@FreeBSD.ORG Thu Aug 4 22:32:38 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 74FE416A421 for ; Thu, 4 Aug 2005 22:32:38 +0000 (GMT) (envelope-from erwin@mail.droso.net) Received: from mail.droso.net (koala.droso.net [193.88.12.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id C932743D53 for ; Thu, 4 Aug 2005 22:32:36 +0000 (GMT) (envelope-from erwin@mail.droso.net) Received: from localhost (localhost [127.0.0.1]) by mail.droso.net (Postfix) with ESMTP id 66B012288E; Fri, 5 Aug 2005 00:32:35 +0200 (CEST) Received: by mail.droso.net (Postfix, from userid 1001) id 6C69122879; Fri, 5 Aug 2005 00:32:34 +0200 (CEST) Date: Fri, 5 Aug 2005 00:32:34 +0200 From: Erwin Lansing To: freebsd-ports@freebsd.org Message-ID: <20050804223234.GH26867@droso.net> Mail-Followup-To: freebsd-ports@freebsd.org References: <42F287DB.9050307@columbia.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0M9+YLHDVd0m18zA" Content-Disposition: inline In-Reply-To: <42F287DB.9050307@columbia.edu> X-Operating-System: FreeBSD/i386 5.4-RELEASE User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd 0.1 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 22:32:38 -0000 --0M9+YLHDVd0m18zA Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 04, 2005 at 05:25:47PM -0400, Brent B. Powers wrote: > I've a port that requires _either_ perl5 or perl5.8. This isn't a=20 > problem on FBSD5, but on 4.11, it appears that if I build the package=20 > on a system with 5.8, 5.8 is specified as a dependency, and if the=20 > package is build on a system with 5.6, 5.6 is set as a dependency. >=20 > Is there a clean way to specify (on 4.11) that we require a 'modern' perl? >=20 It depends on how you define "clean" :-) > .if ${PERL_LEVEL} < 500600 > IGNORE=3D Requires perl 5.6 or better. Please install lang/perl5.8 and= =20 > retry > .endif >=20 I wouldn't call this very clean, but this is the way to do it. Note that the last part should read lang/perl5 not lang/perl5.8 if it also works on perl 5.6.x. Cheers, -erwin --=20 Erwin Lansing DISCLAIMER: No electrons were harmed while sending this message. --0M9+YLHDVd0m18zA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFC8peCqy9aWxUlaZARAl4CAKDwfbun9HIYqtx0Gc4gQYdTOXWFnACgxqmB jlKYPY0UMST6/H/taU1bimg= =CQrm -----END PGP SIGNATURE----- --0M9+YLHDVd0m18zA--