tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: weirdness/bug in automatic info handling code



Thomas Klausner wrote:
When deinstalling libidn, I get:
libidn-1.4: unregistering info file /usr/pkg/info/libidn-components.png
I don't think that .png is an info file :)
I'm not sure if or what should be done about it. Any ideas?
The relevent code is pkgsrc/mk/plist/plist-info.awk and the INFO_FILES_cmd definition at the bottom of plist.mk. My assumption when writing that file was that everything in ${PREFIX}/${PKGINFODIR} was an info file. At the time, I wasn't sure that all info files ended in ".info". You can try replacing the pattern that ignores *-1, *-2, etc. files with:
# Ignore all files without a ".info" suffix.
/^[^@]/ && (0ドル !~ "^" IGNORE_INFO_REGEXP "/") && \
(0ドル !~ "^([^\/]*\/)*(info\/[^\/]+(\.info)?|[^\/]+\.info)$" {
 next
}
 Cheers,
 -- Johnny C. Lam


Home | Main Index | Thread Index | Old Index

AltStyle によって変換されたページ (->オリジナル) /