[Bug 224324] lang/python* fails to install for wrongfully requiring yp/nis

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 13 21:35:30 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224324

--- Comment #2 from Chris Hutchinson <portmaster at bsdforge.com> ---
OK Walter Schwarzenfeld was kind enough to answer my
plea for help with this on the mailing list. He also
mentioned the DEFINE I noted already. But also
made the following suggestion for the Makefile:

.if !exists(/usr/bin/ypcat) || defined(WITHOUT_NIS)
         @${REINPLACE_CMD} -e 's/disabled_module_list =[^]]*/&, "nis"/' \
                 ${WRKSRC}/setup.py
.endif

NetBSD already incorporates something similar for their version(s)
of Python. As they don't install yp/nis by default.

I think this (Walters patch) is a good start to fixing
lang/python.

--Chris

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


More information about the freebsd-ports-bugs mailing list