FreeBSD Bugzilla – Attachment 14459 Details for
Bug 27182
Teach portlint to recognize RUN_DEPENDS=${BUILD_DEPENDS} and the like
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1001 bytes, created by
Anton Berezin
on 2001-05-07 16:30:05 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Anton Berezin
Created:
2001-05-07 16:30:05 UTC
Size:
1001 bytes
patch
obsolete
>--- src/portlint.pl.orig Mon May 7 11:52:20 2001 >+++ src/portlint.pl Mon May 7 17:09:58 2001 >@@ -1222,12 +1222,24 @@ > if ($tmp =~ /(LIB_|BUILD_|RUN_|FETCH_)?DEPENDS/) { > &checkearlier($file, $tmp, @varnames); > >+ my %seen_depends; >+ > if (!defined $ENV{'PORTSDIR'}) { > $ENV{'PORTSDIR'} = $portsdir; > } > foreach my $i (grep(/^[A-Z_]*DEPENDS[?+]?=/, split(/\n/, $tmp))) { > $i =~ s/^([A-Z_]*DEPENDS)[?+]?=[ \t]*//; > $j = $1; >+ $seen_depends{$j}++; >+ if ($j ne 'DEPENDS' && >+ $i =~ /^\${([A-Z_]+DEPENDS)}\s*$/ && >+ $seen_depends{$1} && >+ $j ne $1) >+ { >+ print "OK: $j refers to $1, skipping checks.\n" >+ if ($verbose); >+ next; >+ } > print "OK: checking ports listed in $j.\n" > if ($verbose); > foreach my $k (split(/\s+/, $i)) { >--- Makefile.orig Mon May 7 17:14:18 2001 >+++ Makefile Mon May 7 17:14:39 2001 >@@ -8,7 +8,7 @@ > # > > PORTNAME= portlint >-PORTVERSION= 2.3.2 >+PORTVERSION= 2.3.3 > CATEGORIES= devel > MASTER_SITES= # none > DISTFILES= # none
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 27182
: 14459