FreeBSD Bugzilla – Attachment 46525 Details for
Bug 71405
[PATCH] devel/portlint: check DATADIR and MAN3PREFIX
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
portlint-2.6.7_1.patch
portlint-2.6.7_1.patch (text/plain), 1.49 KB, created by
Yen-Ming Lee
on 2004-09-05 18:40:22 UTC
(
hide
)
Description:
portlint-2.6.7_1.patch
Filename:
MIME Type:
Creator:
Yen-Ming Lee
Created:
2004-09-05 18:40:22 UTC
Size:
1.49 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/pcvs/ports/devel/portlint/Makefile,v >retrieving revision 1.82 >diff -u -u -r1.82 Makefile >--- Makefile 1 Sep 2004 04:13:32 -0000 1.82 >+++ Makefile 5 Sep 2004 17:28:43 -0000 >@@ -9,6 +9,7 @@ > > PORTNAME= portlint > PORTVERSION= 2.6.7 >+PORTREVISION= 1 > CATEGORIES= devel > MASTER_SITES= # none > DISTFILES= # none >Index: src/portlint.pl >=================================================================== >RCS file: /home/pcvs/ports/devel/portlint/src/portlint.pl,v >retrieving revision 1.63 >diff -u -u -r1.63 portlint.pl >--- src/portlint.pl 1 Sep 2004 04:13:32 -0000 1.63 >+++ src/portlint.pl 5 Sep 2004 17:28:45 -0000 >@@ -755,6 +755,10 @@ > &perror("WARN: $file [$.]: consider using EXAMPLESDIR macro"); > } > >+ if ($_ =~ /^share\/$makevar{PORTNAME}\//) { >+ &perror("WARN: $file [$.]: consider using DATADIR macro"); >+ } >+ > if ($_ =~ m#man/([^/]+/)?man([$manchapters])/([^\.]+\.[$manchapters])(\.gz)?$#) { > if ($4 eq '') { > $plistman{$2} .= ' ' . $3; >@@ -2200,6 +2204,12 @@ > if ($tmp =~ /MAN\U$i\E=\s*([^\n]*)\n/) { > print "OK: Makefile MAN\U$i\E=$1\n" if ($verbose); > } >+ } >+ if ($tmp =~ /PERL_CONFIGURE=\s*/ >+ && $tmp =~ /MAN3PREFIX=\s*\${PREFIX}\/lib\/perl5\/\${PERL_VERSION}/) { >+ &perror("WARN: $file: MAN3PREFIX is ". >+ "\"\${PREFIX}/lib/perl5/\${PERL_VERSION}\" ". >+ "when PERL_CONFIGURE is set. you don't need to specify it."); > } > foreach my $i (split(//, $manchapters)) { > next if ($i eq '');
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 71405
: 46525