tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: PRINT_PLIST_AWK and pyversion.mk
On 2024-07-15 18:09, Thomas Klausner wrote:
I think allowing ${foo} before that should be fine.
With foo/bar/ before that - not sure if we want to regex PYSITELIB in
then.
Something like
PRINT_PLIST_AWK+= /(^|^\$$.+\})${PYSITELIB:S|/|\\/|g}/ \
{ gsub(/${PYSITELIB:S|/|\\/|g}/, "$${PYSITELIB}") }
would allow for any number of PLIST prefixes, while avoiding your second
case.
${PYSITELIB} is quite an uncommon path anyway.
net/samba4 has quite a few of those.
Cheerio,
Hauke
--
The ASCII Ribbon Campaign Hauke Fath
() No HTML/RTF in email Institut für Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
Respect for open standards Ruf +49-6151-16-21344
Home |
Main Index |
Thread Index |
Old Index