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/python38 | |
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/python38')
-rw-r--r-- | lang/python38/Makefile | 3 |
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" |