Fix pkg-plist breakage on systems with perl < 5.6.0.

Submitted by:	bento
This commit is contained in:
Maxim Sobolev 2000-11-15 12:49:46 +00:00
parent b30b7354ab
commit ff22886194
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=35166
2 changed files with 10 additions and 2 deletions

View file

@ -43,6 +43,12 @@ pre-extract:
BROKEN= test script t/flexraw.t fails all 26 tests
.endif
.if ${OSVERSION} >= 500007
PLIST_SUB+= NEW_PERL:="" OLD_PERL:="@comment "
.else
PLIST_SUB+= NEW_PERL:="@comment " OLD_PERL:=""
.endif
MAN1= PDL::Philosophy.1 PDL::Internals.1 PDL::PP.1 PDL::Tips.1 \
PDL::Dataflow.1 PDL::Indexing.1 PDL::FAQ.1 PDL::Delta.1 \
PDL::Objects.1 PDL::Impatient.1 pdl.1 perldl.1

View file

@ -187,8 +187,10 @@ lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/PDL/HtmlDocs/PDL/Slices.html
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/PDL/HtmlDocs/PDL/Tests.html
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/PDL/HtmlDocs/PDL/Tips.html
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/PDL/HtmlDocs/PDL/Types.html
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/PDL/HtmlDocs/PDL/pod2htmd.x~~
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/PDL/HtmlDocs/PDL/pod2htmi.x~~
%%OLD_PERL:%%lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/PDL/HtmlDocs/PDL/pod2html-dircache
%%OLD_PERL:%%lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/PDL/HtmlDocs/PDL/pod2html-itemcache
%%NEW_PERL:%%lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/PDL/HtmlDocs/PDL/pod2htmd.x~~
%%NEW_PERL:%%lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/PDL/HtmlDocs/PDL/pod2htmi.x~~
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/PDL/IO/Browser.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/PDL/IO/FastRaw.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/PDL/IO/FlexRaw.pm