pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/python27 python27: Solaris 10 fixes, from pekdon ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/fde393ab114b
branches: trunk
changeset: 372138:fde393ab114b
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Thu Jan 20 12:57:13 2022 +0000
description:
python27: Solaris 10 fixes, from pekdon via IRC.
diffstat:
lang/python27/Makefile | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r fe8178be272d -r fde393ab114b lang/python27/Makefile
--- a/lang/python27/Makefile Thu Jan 20 11:52:28 2022 +0000
+++ b/lang/python27/Makefile Thu Jan 20 12:57:13 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.97 2022/01/12 08:49:01 wiz Exp $
+# $NetBSD: Makefile,v 1.98 2022/01/20 12:57:13 jperkin Exp $
.include "dist.mk"
@@ -48,6 +48,13 @@
# fdatasync()
LIBS.SunOS+= -lrt
+.if ${OPSYS} == "SunOS" && ${OPSYS_VERSION} < 051100
+SUBST_CLASSES+= setup
+SUBST_MESSAGE.setup= Replacing crypt with crypt_i
+SUBST_STAGE.setup= pre-configure
+SUBST_FILES.setup= setup.py
+SUBST_SED.setup= -e "s,\([ \[]\)'crypt',\\1'crypt_i',"
+.endif
PY_VER_SUFFIX= 2.7
Home |
Main Index |
Thread Index |
Old Index