Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Mar 2003 20:45:47 -0600
From:      Ade Lovett <ade@lovett.com>
To:        Kris Kennaway <kris@obsecurity.org>, <ports@FreeBSD.org>
Subject:   Re: BROKEN ports scheduled for removal
Message-ID:  <BAAA64FB.30D6E%ade@lovett.com>
In-Reply-To: <20030328222716.GC23305@rot13.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 03/28/03 16:27, "Kris Kennaway" <kris@obsecurity.org> wrote:
> It builds fine on stock 4.x, but fails on 5.0.  I'll mark it BROKEN on
> 5.0.  I can't think of an easy way to indicate that it does not
> compile with newer perl versions.  We probably need a BUILD_CONFLICTS
> directive similar to the runtime (package) conflicts patches I am
> testing.

Erm.

  .include <bsd.port.pre.mk>

  .if ${PERL_LEVEL} >= 500601
  BROKEN= "Does not work with perl >= 5.6.x"
  .endif

  .include <bsd.port.post.mk>

PERL_LEVEL is in widespread use elsewhere for ports that are part of the
5.6.x and 5.8.x perl ports (like devel/p5-File-Spec, to take a random
example).

Apart from the fact that it's not amazingly pretty, what am I missing?

-aDe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAAA64FB.30D6E%ade>