tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[PATCH] Broken logic in lang/python27 regarding NIS
Hi,
I had to fix python27 to build on my NIS-less Linux box. I think the
logic of a conditional was not implemented as intended:
diff -x CVS -ruN pkgsrc-cvs-20190321/lang/python27/Makefile pkgsrc/lang/python27/Makefile
--- pkgsrc-cvs-20190321/lang/python27/Makefile 2019-03-20 12:54:05.000000000 +0100
+++ pkgsrc/lang/python27/Makefile 2019-03-24 15:30:32.182866104 +0100
@@ -113,7 +113,7 @@
PLIST.dll= yes
. if ${OPSYS} == "MirBSD" || "${OS_VARIANT}" == "chromeos"
# neither nis nor no-nis
-. elif ${OPSYS} != "NetBSD" || exists(/usr/bin/ypcat)
+. elif ${OPSYS} != "NetBSD" && exists(/usr/bin/ypcat)
PLIST.nis= yes
. else
PLIST.no-nis= yes
Is my diagnosis correct? If yes, I'd be happy if someone could
integrate the fix to CVS.
Alrighty then,
Thomas
--
Dr. Thomas Orgis
HPC @ Universität Hamburg
Home |
Main Index |
Thread Index |
Old Index