pkgsrc-Users archive

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

Re: py-cairo and PYVERSSUFFIX

On Wed, 24 Feb 2010 15:50:36 -0600 (CST)
"Jeremy C. Reed" <> wrote:

> Okay if py-cairo installs the include/pycairo/pycairo.h with 
> PYVERSSUFFIX part of the file name?
> And maybe have PYVERSSUFFIX part of the lib/pkgconfig/pycairo.pc 
> filename also?
> Not sure what all uses these yet in pkgsrc so may need to adjust others.
> The problem is py25-cairo and py26-cairo have same files, but I don't 
> see any conflicts registered.

Instead of changing the filename, how about installing them in
different directories?

Something like this could work:

CONFIGURE_ARGS+=        --includedir=${PREFIX}/include/${PKGBASE}

Then we can pull this directory into include scope with buildlink3.

But we should only go in this direction if we are prepared to make
all python modules work like this. I suspect there are a substantial
amount of packages that don't put headers in ${PYSITELIB}.


Home | Main Index | Thread Index | Old Index