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 18:38:14 UTC 2024

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

Log Message:
Fix build on NetBSD by mimicing readline


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 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.6 pkgsrc/lang/python312/options.mk:1.7
--- pkgsrc/lang/python312/options.mk:1.6        Wed May  1 17:44:16 2024
+++ pkgsrc/lang/python312/options.mk    Wed May  1 18:38:14 2024
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.6 2024/05/01 17:44:16 cheusov Exp $
+# $NetBSD: options.mk,v 1.7 2024/05/01 18:38:14 cheusov Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.python312
 PKG_SUPPORTED_OPTIONS= dtrace pymalloc tkinter x11 readline
@@ -50,10 +50,12 @@ CONFIGURE_ARGS+= --without-readline
 .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
+# CONFIGURE_ENV+= ac_cv_header_editline_readline_h=yes
+
+# NetBSD libedit works like libreadline 
+CONFIGURE_ARGS+= --with-readline=readline
 .else
-CONFIGURE_ARGS+= --with-readline
+CONFIGURE_ARGS+= --with-readline=readline
 .endif
 PLIST.readline=        yes
 .endif



Home | Main Index | Thread Index | Old Index