[Bug 287992] security/py-pwntools: opt us out of PATH pollution, solves conflict with sysutils/moreutils

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 05 Jul 2025 08:09:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287992

--- Comment #8 from Emanuel Haupt <ehaupt@FreeBSD.org> ---
Don't worry, it should be all good. You can test the assigned value of
PYDISTUTILS_INSTALLARGS with make -VPYDISTUTILS_INSTALLARGS

So if you comment the PYDISTUTILS_INSTALLARGS in the Makefile and run

make -VPYDISTUTILS_INSTALLARGS

in

/usr/ports/security/py-pwntools

you get:

# make -VPYDISTUTILS_INSTALLARGS
--record /usr/ports/security/py-pwntools/work-py311/.PLIST.pymodtmp  -c -O1
--prefix=/usr/local --single-version-externally-managed
--root=/usr/ports/security/py-pwntools/work-py311/stage

if you uncomment it you get:

# make -VPYDISTUTILS_INSTALLARGS
--record /usr/ports/security/py-pwntools/work-py311/.PLIST.pymodtmp 
--only-use-pwn-command --single-version-externally-managed
--root=/usr/ports/security/py-pwntools/work-py311/stage

As you can see the --only-use-pwn-command option is successfully expanded.

-- 
You are receiving this mail because:
You are the assignee for the bug.