pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/python27



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Thu Jan 20 12:57:13 UTC 2022

Modified Files:
        pkgsrc/lang/python27: Makefile

Log Message:
python27: Solaris 10 fixes, from pekdon via IRC.


To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.98 pkgsrc/lang/python27/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/python27/Makefile
diff -u pkgsrc/lang/python27/Makefile:1.97 pkgsrc/lang/python27/Makefile:1.98
--- pkgsrc/lang/python27/Makefile:1.97  Wed Jan 12 08:49:01 2022
+++ pkgsrc/lang/python27/Makefile       Thu Jan 20 12:57:13 2022
@@ -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 @@ CFLAGS+=     -fwrapv
 
 # 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