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:   jperkin
Date:           Thu May  2 06:50:00 UTC 2024

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

Log Message:
python311: Clean up recent readline addition.

Now pkglint clean, no functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/python311/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/python311/options.mk
diff -u pkgsrc/lang/python311/options.mk:1.2 pkgsrc/lang/python311/options.mk:1.3
--- pkgsrc/lang/python311/options.mk:1.2        Tue Apr 30 17:01:15 2024
+++ pkgsrc/lang/python311/options.mk    Thu May  2 06:50:00 2024
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.2 2024/04/30 17:01:15 cheusov Exp $
+# $NetBSD: options.mk,v 1.3 2024/05/02 06:50:00 jperkin Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.python311
 PKG_SUPPORTED_OPTIONS= dtrace pymalloc x11 readline
@@ -40,15 +40,14 @@ CONFIGURE_ARGS+=    --with-pymalloc
 CONFIGURE_ARGS+=       --without-pymalloc
 .endif
 
-# readline/editline
-.if empty(PKG_OPTIONS:Mreadline)
-CONFIGURE_ARGS+= --without-readline
+.if ${PKG_OPTIONS:Mreadline}
+.  include "../../mk/readline.buildlink3.mk"
+.  if ${READLINE_TYPE} == "editline"
+CONFIGURE_ARGS+=       --with-readline=editline
+.  else
+CONFIGURE_ARGS+=       --with-readline
+.  endif
+PLIST.readline=                yes
 .else
-.include "../../mk/readline.buildlink3.mk"
-.if ${READLINE_TYPE} == "editline"
-CONFIGURE_ARGS+= --with-readline=editline
-.else
-CONFIGURE_ARGS+= --with-readline
-.endif
-PLIST.readline=        yes
+CONFIGURE_ARGS+=       --without-readline
 .endif



Home | Main Index | Thread Index | Old Index