python311 vs expat

Jonathan Perkin <[email protected]>
Newsgroups gmane.os.netbsd.devel.packages
Message-ID <[email protected]>
This change broke both macOS and SunOS:

bac7175966909 (adam      2026-03-04 06:51:45 +0000  44) CONFIGURE_ARGS+=        --without-system-expat # requires expat_config.h

It means that python311 has both:

   CONFIGURE_ARGS+=        --with-system-expat
   CONFIGURE_ARGS+=        --without-system-expat # requires expat_config.h

I don't understand how this can work.  Does this even work on NetBSD?

I think it's clearly a regression on any other system, so if this is a 
NetBSD-specific hack then it needs to go in an .if OPSYS section, and 
I'd recommend a very good comment explaining why we have both --with and 
--without because that makes no sense to me.

-- 
Jonathan Perkin                    pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.