Subject: Re: CVS commit: pkgsrc/textproc/libxml2
To: Julio M. Merino Vidal <jmmv84@gmail.com>
From: Marc Recht <recht@netbsd.org>
List: tech-pkg
Date: 02/13/2005 20:31:03
[moved to tech-pkg]

> Yes, but he took the patch to only define the catalog macros if they
> were not previously defined (so that we'd replace them from the
> environment).  This is what the last patch in that bug report did,
> and it was commited.

Yes, I saw that.

> [compiler, -D]
> Ew, really?  I didn't know that.

Yes. That's the reason the Python developers put all defines in 
Python.h.

> But ATM, there are a bunch of packages
> in pkgsrc that use it...

I'm not sure how if anybody uses such a compiler.. ;-)

> Anyway, I'm wondering if some:
> 	echo "#define XML...." >>${WRKSRC}/config.h
> in a post-configure target could do the trick (assuming they are not
> further overriden by a call to config.status).

Indeed this could work.

> But that'd mean more local patches, and they could be more complex
> than the current ones (not desirable).

Indeed.

Cheers,
Marc