summaryrefslogtreecommitdiff
path: root/lang/python38
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2020-05-21 17:25:13 +0000
committerleot <leot@pkgsrc.org>2020-05-21 17:25:13 +0000
commit562d6ebcb1bfced3b3eab1ccd1d17d3ffeea93f8 (patch)
tree52ccd1f08c5302f4babf0340776ade3d5e02efa9 /lang/python38
parent1654a8b8a44f244a8a26fe8b90d26affb6c57813 (diff)
downloadpkgsrc-562d6ebcb1bfced3b3eab1ccd1d17d3ffeea93f8.tar.gz
python*: findlib subst class can be a noop
It is licit to be a noop for findlib subst class when PREFIX is `/usr/local'. Thanks to <jklos>! (via PR pkg/54758)
Diffstat (limited to 'lang/python38')
-rw-r--r--lang/python38/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/python38/Makefile b/lang/python38/Makefile
index e7593d347e7..8c30ffd816d 100644
--- a/lang/python38/Makefile
+++ b/lang/python38/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2020/05/15 08:24:50 adam Exp $
+# $NetBSD: Makefile,v 1.10 2020/05/21 17:25:13 leot Exp $
.include "dist.mk"
@@ -155,6 +155,7 @@ SUBST_FILES.findlib+= Lib/ctypes/util.py
SUBST_FILES.findlib+= Lib/distutils/unixccompiler.py
SUBST_SED.findlib= -e 's,/usr/local,${PREFIX},'
SUBST_SED.findlib+= -e "s!\('-Wl,-t'\)!'${COMPILER_RPATH_FLAG}${PREFIX}/lib', '-L${PREFIX}/lib', \1!"
+SUBST_NOOP_OK.findlib= yes
.include "options.mk"