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:   cheusov
Date:           Wed May  1 17:44:16 UTC 2024

Modified Files:
        pkgsrc/lang/python312: options.mk

Log Message:
Fix configuring on NetBSD


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/python312/options.mk

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/options.mk
diff -u pkgsrc/lang/python312/options.mk:1.5 pkgsrc/lang/python312/options.mk:1.6
--- pkgsrc/lang/python312/options.mk:1.5        Wed May  1 16:06:46 2024
+++ pkgsrc/lang/python312/options.mk    Wed May  1 17:44:16 2024
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.5 2024/05/01 16:06:46 cheusov Exp $
+# $NetBSD: options.mk,v 1.6 2024/05/01 17:44:16 cheusov Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.python312
 PKG_SUPPORTED_OPTIONS= dtrace pymalloc tkinter x11 readline
@@ -48,6 +48,9 @@ CONFIGURE_ARGS+= --without-readline
 .else
 .include "../../mk/readline.buildlink3.mk"
 .if ${READLINE_TYPE} == "editline"
+# the following is here, because pkgsrc buildlink framework provides
+# readline/readline.h header but python checks for editline/readline.h
+CONFIGURE_ENV+= ac_cv_header_editline_readline_h=yes
 CONFIGURE_ARGS+= --with-readline=editline
 .else
 CONFIGURE_ARGS+= --with-readline



Home | Main Index | Thread Index | Old Index