pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/python311



Module Name:    pkgsrc
Committed By:   thor
Date:           Thu Dec 28 13:12:24 UTC 2023

Modified Files:
        pkgsrc/lang/python311: Makefile

Log Message:
lang/python311: 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.22 -r1.23 pkgsrc/lang/python311/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/python311/Makefile
diff -u pkgsrc/lang/python311/Makefile:1.22 pkgsrc/lang/python311/Makefile:1.23
--- pkgsrc/lang/python311/Makefile:1.22 Mon Dec 11 10:23:42 2023
+++ pkgsrc/lang/python311/Makefile      Thu Dec 28 13:12:24 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2023/12/11 10:23:42 adam Exp $
+# $NetBSD: Makefile,v 1.23 2023/12/28 13:12:24 thor Exp $
 
 .include "dist.mk"
 
@@ -111,10 +111,16 @@ PLIST_VARS+=      dbm nis
 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