pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/python312
Module Name: pkgsrc
Committed By: thor
Date: Thu Dec 28 13:12:59 UTC 2023
Modified Files:
pkgsrc/lang/python312: Makefile
Log Message:
lang/python312: fix NIS detection
This ensures the configure script finds the NIS headers just like the
Makefile did by adding include directories.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/lang/python312/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/python312/Makefile
diff -u pkgsrc/lang/python312/Makefile:1.12 pkgsrc/lang/python312/Makefile:1.13
--- pkgsrc/lang/python312/Makefile:1.12 Fri Dec 8 09:22:42 2023
+++ pkgsrc/lang/python312/Makefile Thu Dec 28 13:12:59 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2023/12/08 09:22:42 adam Exp $
+# $NetBSD: Makefile,v 1.13 2023/12/28 13:12:59 thor Exp $
.include "dist.mk"
@@ -114,10 +114,16 @@ PLIST_VARS+= dbm nis tkinter
PLIST.dbm= yes
.endif
.for incdir in ${_OPSYS_INCLUDE_DIRS}
-. if (exists(${incdir}/rpc/rpc.h) || exists(${incdir}/tirpc/rpc/rpc.h))
+. if exists(${incdir}/rpc/rpc.h)
+HAVE_RPC_H= yes
+. elif exists(${incdir}/tirpc/rpc/rpc.h)
+CPPFLAGS+= -I${incdir}/tirpc
HAVE_RPC_H= yes
. endif
-. if (exists(${incdir}/rpcsvc/yp_prot.h) || exists(${incdir}/nsl/rpcsvc/yp_prot.h))
+. if exists(${incdir}/rpcsvc/yp_prot.h)
+HAVE_YP_PROT_H= yes
+. elif exists(${incdir}/nsl/rpcsvc/yp_prot.h)
+CPPFLAGS+= -I${incdir}/nsl
HAVE_YP_PROT_H= yes
. endif
.endfor
Home |
Main Index |
Thread Index |
Old Index