diff options
author | leot <leot@pkgsrc.org> | 2020-05-21 17:25:13 +0000 |
---|---|---|
committer | leot <leot@pkgsrc.org> | 2020-05-21 17:25:13 +0000 |
commit | 562d6ebcb1bfced3b3eab1ccd1d17d3ffeea93f8 (patch) | |
tree | 52ccd1f08c5302f4babf0340776ade3d5e02efa9 /lang/python36 | |
parent | 1654a8b8a44f244a8a26fe8b90d26affb6c57813 (diff) | |
download | pkgsrc-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/python36')
-rw-r--r-- | lang/python36/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/python36/Makefile b/lang/python36/Makefile index d1d31f83c38..00728f51015 100644 --- a/lang/python36/Makefile +++ b/lang/python36/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2020/05/14 21:43:11 tnn Exp $ +# $NetBSD: Makefile,v 1.24 2020/05/21 17:25:13 leot Exp $ PKGREVISION= 2 .include "dist.mk" @@ -157,6 +157,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" |