FreeBSD Bugzilla – Attachment 88263 Details for
Bug 125037
[PATCH] ports-mgmt/portlint: warn %%PORTDOCS%%%%EXAMPLESDIR%%
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
portlint-2.9.9.patch
portlint-2.9.9.patch (text/plain), 1.46 KB, created by
Tomoyuki Sakurai
on 2008-06-27 04:40:01 UTC
(
hide
)
Description:
portlint-2.9.9.patch
Filename:
MIME Type:
Creator:
Tomoyuki Sakurai
Created:
2008-06-27 04:40:01 UTC
Size:
1.46 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/ports-mgmt/portlint/Makefile /usr/home/cherry/svk/ports/ports-mgmt/portlint/Makefile >--- /usr/ports/ports-mgmt/portlint/Makefile 2008-03-23 09:25:30.000000000 +0900 >+++ /usr/home/cherry/svk/ports/ports-mgmt/portlint/Makefile 2008-06-27 12:25:57.000000000 +0900 >@@ -8,7 +8,7 @@ > # > > PORTNAME= portlint >-PORTVERSION= 2.9.8 >+PORTVERSION= 2.9.9 > CATEGORIES= ports-mgmt > MASTER_SITES= # none > DISTFILES= # none >diff -ruN --exclude=CVS /usr/ports/ports-mgmt/portlint/src/portlint.pl /usr/home/cherry/svk/ports/ports-mgmt/portlint/src/portlint.pl >--- /usr/ports/ports-mgmt/portlint/src/portlint.pl 2008-03-23 09:25:30.000000000 +0900 >+++ /usr/home/cherry/svk/ports/ports-mgmt/portlint/src/portlint.pl 2008-06-27 12:25:45.000000000 +0900 >@@ -46,7 +46,7 @@ > # version variables > my $major = 2; > my $minor = 9; >-my $micro = 8; >+my $micro = 9; > > sub l { '[{(]'; } > sub r { '[)}]'; } >@@ -837,6 +837,15 @@ > $sharedocused++; > } > >+ if ($_ =~ /^\%\%PORTDOCS\%\%.*\%\%DATADIR\%\%/) { >+ &perror("WARN", $file, $., "Wrong pair of variables is used. ". >+ "Use %%PORTDATA%% and %%DATADIR%% instead."); >+ } >+ if ($_ =~ /^\%\%PORTDOCS\%\%.*\%\%EXAMPLESDIR\%\%/) { >+ &perror("WARN", $file, $., "Wrong pair of variables is used. ". >+ "Use %%PORTEXAMPLES%% and %%EXAMPLESDIR%% instead."); >+ } >+ > if ($_ =~ /^share\/examples\//) { > &perror("WARN", $file, $., "If and only if your port is ". > "EXAMPLESDIR-safe (that is, a user can override EXAMPLESDIR ".
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 125037
: 88263