trouble building term-readkey-pm5184
Tom Liehe via Fink-beginners <[email protected]>
| Newsgroups | gmane.os.apple.fink.beginners |
|---|---|
| Message-ID | <[email protected]> |
Hanspeter, In the posts for this issue (github.com/fink/fink-distributions/issues/461 <http://github.com/fink/fink-distributions/issues/461>) https://github.com/fink/fink-distributions/issues/461 <https://github.com/fink/fink-distributions/issues/461>) I see this from TheSin on Dec 9, 2020: > > Got it working, not pretty but works > > in PkgVersion.pm > > change > > "$archflags $perlcmd Makefile.PL \%c\n". > "/usr/bin/make CC=gcc CXX=g++\n"; > to > > "$archflags $perlcmd Makefile.PL \%c\n". > "perl -pi -e 's, blib/, %b/blib/,g' Makefile\n". > "/usr/bin/make CC=gcc CXX=g++\n"; > Obviously this type of fix could break other packages, it might be safer to do this inside the term-readkey-pm info file, but I'm going to test it in the PkgVersion.pm for a bit see how it goes. > > This does NOT fix tests, this likely needs to be done in the test module as far as I can see. When I first saw this, I implemented this “fix” on my Catalina fink installation and was able to build term-readkey-pm5184. I would like to suggest others try this. Is there some way it could be implemented in a patch that would only be selected if a user wants to try it out? The file PkgVersion.pm is in /opt/sw/lib/perl5/Fink and the edit adds a new line after line 1180. At some point after I successfully built term-readkey-pm5184 my edited version was overwritten, but things still work. I understand this may not work for everyone. Just wondering if there can be a path forwards for those whose installations would benefit from this change until a real solution is found. Tom _______________________________________________ Fink-beginners mailing list [email protected] List archive: https://sourceforge.net/p/fink/mailman/fink-users/ Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners