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:   cheusov
Date:           Tue Apr 30 21:09:15 UTC 2024

Modified Files:
        pkgsrc/lang/python311: Makefile

Log Message:
Fix linking issue of _readline.so (missing ncursesw library)
  by setting FAKE_NCURSES to YES only on NetBSD.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 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.28 pkgsrc/lang/python311/Makefile:1.29
--- pkgsrc/lang/python311/Makefile:1.28 Tue Apr 30 20:51:14 2024
+++ pkgsrc/lang/python311/Makefile      Tue Apr 30 21:09:15 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2024/04/30 20:51:14 cheusov Exp $
+# $NetBSD: Makefile,v 1.29 2024/04/30 21:09:15 cheusov Exp $
 
 .include "dist.mk"
 
@@ -45,16 +45,18 @@ CONFIGURE_ENV+=             OPT=${CFLAGS:M*:Q}
 CONFIGURE_ENV+=                ac_cv_path_mkdir=${TOOLS_PATH.mkdir}
 PKGCONFIG_OVERRIDE+=   Misc/python.pc.in Misc/python-embed.pc.in
 
-# NetBSD-8 curses has enough support for py-curses
-USE_CURSES=            getsyx wide
-# But we build as ncurses still to get the full feature set easily
-FAKE_NCURSES=          yes
-
 PTHREAD_OPTS+= require
 .include "../../mk/pthread.buildlink3.mk"
 
 .include "../../mk/bsd.prefs.mk"
 
+# NetBSD-8 curses has enough support for py-curses
+USE_CURSES=            getsyx wide
+# But we build as ncurses still to get the full feature set easily
+.if ${OPSYS} == "NetBSD"
+FAKE_NCURSES=          yes
+.endif
+
 .if ${USE_CROSS_COMPILE:U:tl} == yes
 TOOL_DEPENDS+=         ${PKGNAME}:../../${PKGPATH}
 CONFIGURE_ARGS+=       --with-build-python=${TOOLBASE:Q}/bin/python3.11



Home | Main Index | Thread Index | Old Index