File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed
Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,16 @@ package Git::I18N;
22use 5.008;
33use strict;
44use warnings;
5- use Exporter ' import' ;
5+ BEGIN {
6+ require Exporter;
7+ if ($] < 5.008003) {
8+ *import = \&Exporter::import ;
9+ } else {
10+ # Exporter 5.57 which supports this invocation was
11+ # released with perl 5.8.3
12+ Exporter-> import (' import' );
13+ }
14+ }
615
716our @EXPORT = qw( __) ;
817our @EXPORT_OK = @EXPORT ;
Original file line number Diff line number Diff line change @@ -23,15 +23,18 @@ clean:
2323ifdef NO_PERL_MAKEMAKER
2424instdir_SQ = $(subst ','\'',$(prefix ) /lib)
2525$(makfile ) : ../GIT-CFLAGS Makefile
26- echo all: private-Error.pm Git.pm > $@
27- echo ' mkdir -p blib/lib' >> $@
26+ echo all: private-Error.pm Git.pm Git/I18N.pm > $@
27+ echo ' mkdir -p blib/lib/Git ' >> $@
2828 echo ' $(RM) blib/lib/Git.pm; cp Git.pm blib/lib/' >> $@
29+ echo ' $(RM) blib/lib/Git/I18N.pm; cp Git/I18N.pm blib/lib/Git/' >> $@
2930 echo ' $(RM) blib/lib/Error.pm' >> $@
3031 ' $(PERL_PATH_SQ)' -MError -e ' exit($$Error::VERSION < 0.15009)' || \
3132 echo ' cp private-Error.pm blib/lib/Error.pm' >> $@
3233 echo install: >> $@
3334 echo ' mkdir -p "$$(DESTDIR)$(instdir_SQ)"' >> $@
35+ echo ' mkdir -p "$$(DESTDIR)$(instdir_SQ)/Git"' >> $@
3436 echo ' $(RM) "$$(DESTDIR)$(instdir_SQ)/Git.pm"; cp Git.pm "$$(DESTDIR)$(instdir_SQ)"' >> $@
37+ echo ' $(RM) "$$(DESTDIR)$(instdir_SQ)/Git/I18N.pm"; cp Git/I18N.pm "$$(DESTDIR)$(instdir_SQ)/Git"' >> $@
3538 echo ' $(RM) "$$(DESTDIR)$(instdir_SQ)/Error.pm"' >> $@
3639 ' $(PERL_PATH_SQ)' -MError -e ' exit($$Error::VERSION < 0.15009)' || \
3740 echo ' cp private-Error.pm "$$(DESTDIR)$(instdir_SQ)/Error.pm"' >> $@
You can’t perform that action at this time.
0 commit comments