tech-pkg archive

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

Re: egg.mk and do-*



On Mon, Jul 04, 2022 at 05:32:33PM +0100, Jonathan Perkin wrote:
> * On 2022-07-04 at 17:29 BST, Manuel Bouyer wrote:
> 
> > so, since xentools415 has been converted to python/egg.mk (from extention.mk)
> > we get a warning about do-build and do-install being redefined.
> 
> Generally we handle this by adding .if !target(do-build) style wrappers
> around the definitions in extension.mk.  Is there any reason why we're not
> doing that in this case?

These are already conditional on PYDISTUTILSPKG, I'm just extending this
logic. Note that PYDISTUTILSPKG also conditionally defines more stuff than
the do-* targets; I don't know if they can cause problem for packages
that don't want the build logic from egg.mk

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index