From owner-freebsd-ports@FreeBSD.ORG Fri Aug 5 06:45:10 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 4452516A41F for ; Fri, 5 Aug 2005 06:45:10 +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 CAB0743D45 for ; Fri, 5 Aug 2005 06:45:09 +0000 (GMT) (envelope-from erwin@mail.droso.net) Received: from localhost (localhost [127.0.0.1]) by mail.droso.net (Postfix) with ESMTP id 2EB222288E; Fri, 5 Aug 2005 08:45:07 +0200 (CEST) Received: by mail.droso.net (Postfix, from userid 1001) id C0D3522879; Fri, 5 Aug 2005 08:45:05 +0200 (CEST) Date: Fri, 5 Aug 2005 08:45:05 +0200 From: Erwin Lansing To: freebsd-ports@freebsd.org Message-ID: <20050805064505.GK26867@droso.net> Mail-Followup-To: freebsd-ports@freebsd.org References: <42F287DB.9050307@columbia.edu> <42F29F0D.7040307@magnesium.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BV9bEMyK3jSSO1UG" Content-Disposition: inline In-Reply-To: <42F29F0D.7040307@magnesium.net> 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: Fri, 05 Aug 2005 06:45:10 -0000 --BV9bEMyK3jSSO1UG Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 04, 2005 at 07:04:45PM -0400, Adam Weinberger wrote: > 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. > > > >Is there a clean way to specify (on 4.11) that we require a 'modern' per= l? > > > >.if ${PERL_LEVEL} < 500600 > >IGNORE=3D Requires perl 5.6 or better. Please install lang/perl5.8 an= d=20 > >retry > >.endif >=20 > Instead of marking it IGNORE there, why not just add a=20 > BUILD_/RUN_DEPENDS on lang/perl5.8? >=20 Because that would break all the perl ports that have been installed before. We need the full attention of the user so that he upgrades his whole perl installation, not just the version of perl installed. -erwin --=20 Erwin Lansing DISCLAIMER: No electrons were harmed while sending this message. --BV9bEMyK3jSSO1UG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFC8wrxqy9aWxUlaZARAtw7AJ423QCZGvJ2Kp13JYgCa2cXKXKgSACgpdYm C9tPfh5/Hfuo8wJV1QDIeWc= =uu0A -----END PGP SIGNATURE----- --BV9bEMyK3jSSO1UG--