Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Aug 2005 08:45:05 +0200
From:      Erwin Lansing <erwin@FreeBSD.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: Specifying perl dependencies in a port
Message-ID:  <20050805064505.GK26867@droso.net>
In-Reply-To: <42F29F0D.7040307@magnesium.net>
References:  <42F287DB.9050307@columbia.edu> <42F29F0D.7040307@magnesium.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050805064505.GK26867>