Re: [xml] more questions on catalogs



Rick Jones wrote:
Are they then setting the magic environment variable in /etc/profile or whatnot?

rick jones


No, patching the source before building it:

http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/textproc/libxml2/patches/patch-ac?rev=1.6&content-type=text/x-cvsweb-markup


So, how then does NetBSD inform applications wishing to use libxml2 that the catalog has been moved elsewhere? Have they modifed xml2-config to emit that information or something?

rick jones


I've not looked through the other patches, but I don't think any changes
that are made to xml2-config have to do with XML catalog support. Those
kind of config scripts are normally just patched to add in things like
default linker paths. Programs don't have to be aware of where the
default catalog is, the library is configured to know when it's built.

Chris



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]