diff options
author | roy <roy@pkgsrc.org> | 2019-04-25 15:59:54 +0000 |
---|---|---|
committer | roy <roy@pkgsrc.org> | 2019-04-25 15:59:54 +0000 |
commit | ceb103f92e71d76e9c75754fed78bc37d09ab9a2 (patch) | |
tree | 9846f91af9c88d1ac690f44c96d1c8cd83057787 /lang/python27 | |
parent | 1ffb34718f5eb838ca1a9aa0a549a3488210996b (diff) | |
download | pkgsrc-ceb103f92e71d76e9c75754fed78bc37d09ab9a2.tar.gz |
python: Don't install nis_failed.so if no yp headers
Because python won't even try to build it.
You only see nis_failed.so if there is an error building it, when
it wanted to build it, and that should be fixed accordingly.
In a nutshell, if the yp headers are installed, python will build
the nis module, otherwise it won't.
On netbsd systems at least, if you have the yp headers installed and
subsequently re-install over the top with MKYP=no you get into the state
where the headers are installed, but the functions are no longer in libc.
This is an error with *your* system - either rebuild with MKYP=yes OR
remove the yp headers from include/rpc and include/rpcsvc.
Follow on fix for PR pkg/53673.
Diffstat (limited to 'lang/python27')
-rw-r--r-- | lang/python27/Makefile | 6 | ||||
-rw-r--r-- | lang/python27/PLIST | 3 |
2 files changed, 3 insertions, 6 deletions
diff --git a/lang/python27/Makefile b/lang/python27/Makefile index 459d65bb561..e60cdc4517d 100644 --- a/lang/python27/Makefile +++ b/lang/python27/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.79 2019/04/03 13:17:27 maya Exp $ +# $NetBSD: Makefile,v 1.80 2019/04/25 15:59:54 roy Exp $ .include "dist.mk" @@ -80,7 +80,7 @@ IS_64BIT_PLATFORM?= yes IS_64BIT_PLATFORM?= no .endif -PLIST_VARS+= dl dll extra-so nis no-nis qt +PLIST_VARS+= dl dll extra-so nis qt # the dl module isn't built for 64 bit archs .if empty(IS_64BIT_PLATFORM:M[yY][eE][sS]) @@ -117,8 +117,6 @@ HAVE_YP_PROT_H= yes .endfor .if (${HAVE_RPC_H:Uno} == yes && ${HAVE_YP_PROT_H:Uno} == yes) PLIST.nis= yes -.else -PLIST.no-nis= yes .endif # configure complains about buggy getaddrinfo() diff --git a/lang/python27/PLIST b/lang/python27/PLIST index 5d1a3507454..3f94b31d84b 100644 --- a/lang/python27/PLIST +++ b/lang/python27/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2019/03/05 12:43:40 adam Exp $ +@comment $NetBSD: PLIST,v 1.3 2019/04/25 15:59:54 roy Exp $ bin/2to3-${PY_VER_SUFFIX} bin/pydoc${PY_VER_SUFFIX} bin/python${PY_VER_SUFFIX} @@ -1938,7 +1938,6 @@ lib/python${PY_VER_SUFFIX}/lib-dynload/itertools.so lib/python${PY_VER_SUFFIX}/lib-dynload/math.so lib/python${PY_VER_SUFFIX}/lib-dynload/mmap.so ${PLIST.nis}lib/python${PY_VER_SUFFIX}/lib-dynload/nis.so -${PLIST.no-nis}lib/python${PY_VER_SUFFIX}/lib-dynload/nis_failed.so lib/python${PY_VER_SUFFIX}/lib-dynload/operator.so lib/python${PY_VER_SUFFIX}/lib-dynload/parser.so lib/python${PY_VER_SUFFIX}/lib-dynload/resource.so |