Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2018 11:55:12 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        dan@angille.org, FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: getting PKGNAME from CONFLICTS
Message-ID:  <286CAC11-E9C6-42C4-8D41-97F51EFF1596@yahoo.com>

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

Dan Langille dan at langille.org wrote on
Tue Aug 14 17:54:01 UTC 2018 :

> . . .
> At https://dev.freshports.org/www/p5-CGI/ you can see:
>=20
>     CONFLICTS: p5-CGI.pm-[1-3]*
> . . .
> To extract the PKGNAME values from the CONFLICTS I will need to remove =
everything after the trailing dash.
> . . .

p5-
vs.
p5-CGI.pm-
vs.
p5-CGI.pm-[1-

It looks to me like "trailing dash" probably has a
complicated definition where some "-"(s) may exist
that are to be ignored after the one of interest.
In the example I'm guessing that the middle
"-" is intended (so "p5-CGI.pm-").


=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?286CAC11-E9C6-42C4-8D41-97F51EFF1596>