Date: Fri, 5 Aug 2005 00:32:34 +0200 From: Erwin Lansing <erwin@FreeBSD.org> To: freebsd-ports@freebsd.org Subject: Re: Specifying perl dependencies in a port Message-ID: <20050804223234.GH26867@droso.net> In-Reply-To: <42F287DB.9050307@columbia.edu> References: <42F287DB.9050307@columbia.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050804223234.GH26867>