Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang python*: findlib subst class can be a noop
details: https://anonhg.NetBSD.org/pkgsrc/rev/d17575e5baf5
branches: trunk
changeset: 432391:d17575e5baf5
user: leot <leot%pkgsrc.org@localhost>
date: Thu May 21 17:25:13 2020 +0000
description:
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:
lang/python27/Makefile | 3 ++-
lang/python36/Makefile | 3 ++-
lang/python37/Makefile | 3 ++-
lang/python38/Makefile | 3 ++-
4 files changed, 8 insertions(+), 4 deletions(-)
diffs (68 lines):
diff -r 6bb1a0e3e57b -r d17575e5baf5 lang/python27/Makefile
--- a/lang/python27/Makefile Thu May 21 16:31:31 2020 +0000
+++ b/lang/python27/Makefile Thu May 21 17:25:13 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.84 2020/05/14 21:43:11 tnn Exp $
+# $NetBSD: Makefile,v 1.85 2020/05/21 17:25:13 leot Exp $
.include "dist.mk"
@@ -179,6 +179,7 @@
SUBST_FILES.findlib+= Lib/distutils/unixccompiler.py
SUBST_SED.findlib= -e 's,/usr/local,${PREFIX},'
SUBST_SED.findlib+= -e 's!\(-Wl,-t -o\)!${COMPILER_RPATH_FLAG}${PREFIX}/lib -L${PREFIX}/lib \1!'
+SUBST_NOOP_OK.findlib= yes
.include "options.mk"
diff -r 6bb1a0e3e57b -r d17575e5baf5 lang/python36/Makefile
--- a/lang/python36/Makefile Thu May 21 16:31:31 2020 +0000
+++ b/lang/python36/Makefile Thu May 21 17:25:13 2020 +0000
@@ -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/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"
diff -r 6bb1a0e3e57b -r d17575e5baf5 lang/python37/Makefile
--- a/lang/python37/Makefile Thu May 21 16:31:31 2020 +0000
+++ b/lang/python37/Makefile Thu May 21 17:25:13 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2020/05/14 21:43:11 tnn Exp $
+# $NetBSD: Makefile,v 1.17 2020/05/21 17:25:13 leot Exp $
.include "dist.mk"
@@ -155,6 +155,7 @@
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"
diff -r 6bb1a0e3e57b -r d17575e5baf5 lang/python38/Makefile
--- a/lang/python38/Makefile Thu May 21 16:31:31 2020 +0000
+++ b/lang/python38/Makefile Thu May 21 17:25:13 2020 +0000
@@ -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/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"
Home |
Main Index |
Thread Index |
Old Index