diff options
author | jperkin <jperkin@pkgsrc.org> | 2022-01-21 10:43:51 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2022-01-21 10:43:51 +0000 |
commit | 9281425fcb52c39e822e520c17af7135199e490d (patch) | |
tree | c4a1ada04fc71adb1fe1227c7b530308eb4e0505 | |
parent | 798f5c27bd786e0fca3cff7b022c94bdfdd19ff1 (diff) | |
download | pkgsrc-9281425fcb52c39e822e520c17af7135199e490d.tar.gz |
python3*: Add REPLACE_SH, from pekdon via IRC.
-rw-r--r-- | lang/python310/Makefile | 4 | ||||
-rw-r--r-- | lang/python37/Makefile | 4 | ||||
-rw-r--r-- | lang/python38/Makefile | 4 | ||||
-rw-r--r-- | lang/python39/Makefile | 4 |
4 files changed, 12 insertions, 4 deletions
diff --git a/lang/python310/Makefile b/lang/python310/Makefile index ba3a47eb329..fb30a5ced74 100644 --- a/lang/python310/Makefile +++ b/lang/python310/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2022/01/20 13:07:50 jperkin Exp $ +# $NetBSD: Makefile,v 1.9 2022/01/21 10:43:51 jperkin Exp $ .include "dist.mk" @@ -147,6 +147,8 @@ REPLACE_FILES.python+= Lib/turtledemo/yinyang.py REPLACE_FILES.python+= Lib/uu.py REPLACE_FILES.python+= Lib/webbrowser.py +REPLACE_SH+= Misc/python-config.sh.in + # XXX: It might be needed to add manually more paths like ${PREFIX}/qt5/lib # Test: python -c 'from ctypes.util import find_library; print(find_library("ffi"));' SUBST_CLASSES+= findlib diff --git a/lang/python37/Makefile b/lang/python37/Makefile index 5d4de8d262c..d2a9f83494c 100644 --- a/lang/python37/Makefile +++ b/lang/python37/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.30 2022/01/20 13:03:23 jperkin Exp $ +# $NetBSD: Makefile,v 1.31 2022/01/21 10:43:51 jperkin Exp $ PKGREVISION= 3 .include "dist.mk" @@ -155,6 +155,8 @@ REPLACE_FILES.python+= Lib/turtledemo/yinyang.py REPLACE_FILES.python+= Lib/uu.py REPLACE_FILES.python+= Lib/webbrowser.py +REPLACE_SH+= Misc/python-config.sh.in + # XXX: It might be needed to add manually more paths like ${PREFIX}/qt5/lib # Test: python -c 'from ctypes.util import find_library; print(find_library("ffi"));' SUBST_CLASSES+= findlib diff --git a/lang/python38/Makefile b/lang/python38/Makefile index 6a5de681bd0..bfbaa0e345f 100644 --- a/lang/python38/Makefile +++ b/lang/python38/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2022/01/20 11:52:28 jperkin Exp $ +# $NetBSD: Makefile,v 1.25 2022/01/21 10:43:51 jperkin Exp $ PKGREVISION= 3 .include "dist.mk" @@ -157,6 +157,8 @@ REPLACE_FILES.python+= Lib/turtledemo/yinyang.py REPLACE_FILES.python+= Lib/uu.py REPLACE_FILES.python+= Lib/webbrowser.py +REPLACE_SH+= Misc/python-config.sh.in + # XXX: It might be needed to add manually more paths like ${PREFIX}/qt5/lib # Test: python -c 'from ctypes.util import find_library; print(find_library("ffi"));' SUBST_CLASSES+= findlib diff --git a/lang/python39/Makefile b/lang/python39/Makefile index fd4810751af..5868fa8818b 100644 --- a/lang/python39/Makefile +++ b/lang/python39/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2022/01/20 13:06:33 jperkin Exp $ +# $NetBSD: Makefile,v 1.16 2022/01/21 10:43:52 jperkin Exp $ .include "dist.mk" @@ -148,6 +148,8 @@ REPLACE_FILES.python+= Lib/turtledemo/yinyang.py REPLACE_FILES.python+= Lib/uu.py REPLACE_FILES.python+= Lib/webbrowser.py +REPLACE_SH+= Misc/python-config.sh.in + # XXX: It might be needed to add manually more paths like ${PREFIX}/qt5/lib # Test: python -c 'from ctypes.util import find_library; print(find_library("ffi"));' SUBST_CLASSES+= findlib |