Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Jan 2004 21:08:24 -0500
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        Doug Barton <DougB@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   Re: Problem with a portlint change
Message-ID:  <1073009304.430.14.camel@shumai.marcuscom.com>
In-Reply-To: <3FF4CD41.6070706@FreeBSD.org>
References:  <3FF4CD41.6070706@FreeBSD.org>

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

--=-AG0nbrZQhK0/CLcLcsdQ
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Thu, 2004-01-01 at 20:45, Doug Barton wrote:
> Marcus,
>=20
> In versions 1.4[168] you added/modified the following code in portlint:
>=20
>          if ($committer && $makevar{'.CURDIR'} =3D~ m'/([^/]+)/[^/]+/?$')=
 {
>                  if ($cat[0] ne $1 && $makevar{PKGCATEGORY} ne $1 ) {
>                          &perror("FATAL: $file: category \"$1\" must be=20
> listed first");
>                  }
>          }
>=20
>=20
> That creates a problem for those of us who check out individual ports=20
> directories in $HOME, rather than checking out ports/<category>/<port>.=20
> One solution to this problem might be to change the regex to:
>=20
> m'ports/([^/]+)/[^/]+/?$'
>=20
> but I'm sure there are others. It would be nice to find a solution to=20
> this though, since previous versions of portlint didn't complain about=20
> this, and I really like to keep my ports 'portlint clean' whenever=20
> possible.

Doug, you're just too obsessive ;-).  I'll see what I can do.  I'm in
the same boat you are, but I've just gotten used to ignoring the
message.  I like your suggestion, and I think I may go for that for the
time being.

Joe

>=20
> Doug
--=20
Joe Marcus Clarke
FreeBSD GNOME Team	::	gnome@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome

--=-AG0nbrZQhK0/CLcLcsdQ
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQA/9NKYb2iPiv4Uz4cRArM2AJ9wZUmdDbTEHa/OnpBE+LqFJb1QaACfYssR
MuoR8HYkGCvUCuj1v1N5+4A=
=G7mC
-----END PGP SIGNATURE-----

--=-AG0nbrZQhK0/CLcLcsdQ--



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