diff options
author | jperkin <jperkin@pkgsrc.org> | 2022-01-20 12:57:13 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2022-01-20 12:57:13 +0000 |
commit | f3e20e2915d711118d4eb13fb165396c6d23fd5a (patch) | |
tree | 0d765b4e49bb222e70e9ff327ebac912699b35da /lang | |
parent | 2f05c193c5fe2656ff9788d70b54684d73f56ea3 (diff) | |
download | pkgsrc-f3e20e2915d711118d4eb13fb165396c6d23fd5a.tar.gz |
python27: Solaris 10 fixes, from pekdon via IRC.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/python27/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lang/python27/Makefile b/lang/python27/Makefile index de8cbccc515..4a4c39692e1 100644 --- a/lang/python27/Makefile +++ b/lang/python27/Makefile @@ -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 |