diff options
author | schmonz <schmonz@pkgsrc.org> | 2018-09-01 08:03:02 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2018-09-01 08:03:02 +0000 |
commit | 7b0e317126135fe9a8559372e3189dbaa2274bb0 (patch) | |
tree | 42830b8ea16b7db61f0ca71230976bf01219dfca /lang/perl5/patches | |
parent | 50277ec6845cf736b95b2187d51c86f7c671345e (diff) | |
download | pkgsrc-7b0e317126135fe9a8559372e3189dbaa2274bb0.tar.gz |
Fix Storable build on OS X where DYLD_LIBRARY_PATH is no longer
inherited by child processes.
Diffstat (limited to 'lang/perl5/patches')
-rw-r--r-- | lang/perl5/patches/patch-Makefile.SH | 17 | ||||
-rw-r--r-- | lang/perl5/patches/patch-dist_Storable_Makefile.PL | 16 |
2 files changed, 30 insertions, 3 deletions
diff --git a/lang/perl5/patches/patch-Makefile.SH b/lang/perl5/patches/patch-Makefile.SH index 731e18dc7b8..2810385f129 100644 --- a/lang/perl5/patches/patch-Makefile.SH +++ b/lang/perl5/patches/patch-Makefile.SH @@ -1,10 +1,12 @@ -$NetBSD: patch-Makefile.SH,v 1.6 2017/06/06 12:37:50 jperkin Exp $ +$NetBSD: patch-Makefile.SH,v 1.7 2018/09/01 08:03:02 schmonz Exp $ Fix DTrace object generation. +Fix Storable build on OS X where DYLD_LIBRARY_PATH is no longer +inherited by child processes. ---- Makefile.SH.orig 2017-05-30 09:57:56.000000000 +0000 +--- Makefile.SH.orig 2018-05-21 13:22:09.000000000 +0000 +++ Makefile.SH -@@ -270,6 +270,7 @@ LNS = $lns +@@ -275,6 +275,7 @@ LNS = $lns # NOTE: some systems don't grok "cp -f". XXX Configure test needed? CPS = $cp RMS = rm -f @@ -12,3 +14,12 @@ Fix DTrace object generation. ranlib = $ranlib # The following are mentioned only to make metaconfig include the +@@ -1167,7 +1168,7 @@ esac + $spitshell >>$Makefile <<EOT + + dist/Storable/lib/Storable/Limit.pm : \$(PERL_EXE) dist/Storable/stacksize $storable_limit_dep +- cd dist/Storable ; \$(LDLIBPTH) \$(MAKE) lib/Storable/Limit.pm ++ cd dist/Storable ; LDLIBPTH=\$(LDLIBPTH) \$(MAKE) lib/Storable/Limit.pm + + lib/Storable/Limit.pm : dist/Storable/lib/Storable/Limit.pm + test -d lib/Storable || mkdir lib/Storable diff --git a/lang/perl5/patches/patch-dist_Storable_Makefile.PL b/lang/perl5/patches/patch-dist_Storable_Makefile.PL new file mode 100644 index 00000000000..b2eb731e030 --- /dev/null +++ b/lang/perl5/patches/patch-dist_Storable_Makefile.PL @@ -0,0 +1,16 @@ +$NetBSD: patch-dist_Storable_Makefile.PL,v 1.1 2018/09/01 08:03:02 schmonz Exp $ + +Fix Storable build on OS X where DYLD_LIBRARY_PATH is no longer +inherited by child processes. + +--- dist/Storable/Makefile.PL.orig 2018-05-21 12:29:23.000000000 +0000 ++++ dist/Storable/Makefile.PL +@@ -95,7 +95,7 @@ sub depend { + " + $limit_pm : stacksize \$(INST_$linktype)$extra_deps + \$(MKPATH) \$(INST_LIB) +- \$(FULLPERLRUNINST) stacksize $options ++ \$(LDLIBPTH) \$(FULLPERLRUNINST) stacksize $options + + release : dist + git tag \$(VERSION) |