Subject: | Makefile fragment in Makefile.PL for tag target is malformed |
The makefile fragment in Makefile.PL for the "tag" target contains
spaces rather than tabs and includes a trailing \ on the last line of
the fragment. These cause the Solaris version of make to exit,
complaining of the syntax errors.
The attached patch fixes these issues. Perl::Critic then proceeds to
fail a series of tests (as noted in other bug reports), but at least it
gets to the tests!
Subject: | Perl-Critic-1.07.patch |
# This is a patch for Perl-Critic-1.07.orig to update it to Perl-Critic-1.07
#
# To apply this patch:
# STEP 1: Chdir to the source directory.
# STEP 2: Run the 'applypatch' program with this patch file as input.
#
# If you do not have 'applypatch', it is part of the 'makepatch' package
# that you can fetch from the Comprehensive Perl Archive Network:
# http://www.perl.com/CPAN/authors/Johan_Vromans/makepatch-x.y.tar.gz
# In the above URL, 'x' should be 2 or higher.
#
# To apply this patch without the use of 'applypatch':
# STEP 1: Chdir to the source directory.
# STEP 2: Run the 'patch' program with this file as input.
#
#### End of Preamble ####
#### Patch data follows ####
diff -c 'Perl-Critic-1.07.orig/Makefile.PL' 'Perl-Critic-1.07/Makefile.PL'
Index: ./Makefile.PL
*** ./Makefile.PL Tue Aug 21 10:01:52 2007
--- ./Makefile.PL Fri Aug 24 11:56:17 2007
***************
*** 79,95 ****
.PHONY: tags
tags:
! ctags -f tags \
! --recurse \
! --totals \
! \
! --exclude=blib/ \
! --exclude=t/lib \
! --exclude=.svn \
! --exclude='*~' \
! \
! --languages=Perl \
! --langmap=Perl:+.t \
MAKE_FRAG
}
--- 79,95 ----
.PHONY: tags
tags:
! ctags -f tags \
! --recurse \
! --totals \
! \
! --exclude=blib/ \
! --exclude=t/lib \
! --exclude=.svn \
! --exclude='*~' \
! \
! --languages=Perl \
! --langmap=Perl:+.t
MAKE_FRAG
}
#### End of Patch data ####
#### ApplyPatch data follows ####
# Data version : 1.0
# Date generated : Fri Aug 24 12:00:11 2007
# Generated by : makepatch 2.00
# Recurse directories : Yes
# p 'Makefile.PL' 3515 1187970977 0100644
#### End of ApplyPatch data ####
#### End of Patch kit [created: Fri Aug 24 12:00:11 2007] ####
#### Checksum: 70 1888 2080 ####