mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- warn about incorrect usage of the pre-everything:: target
- don't give a warning to use binary mode because of a possible RCS tag if the tag is $FreeBSD$. - bump PORTREVISION Approved by: maintainer timeout, portmgr (kris)
This commit is contained in:
parent
cfbfb3d2f3
commit
0b19c78609
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=77052
4 changed files with 16 additions and 4 deletions
|
@ -9,7 +9,7 @@
|
|||
|
||||
PORTNAME= portlint
|
||||
PORTVERSION= 2.3.3
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= # none
|
||||
DISTFILES= # none
|
||||
|
|
|
@ -629,7 +629,8 @@ sub checkpatch {
|
|||
}
|
||||
if ($committer && $whole =~ /\$([A-Za-z0-9]+)[:\$]/) {
|
||||
&perror("WARN: $file includes possible RCS tag \"\$$1\$\". ".
|
||||
"use binary mode (-ko) on commit/import.");
|
||||
"use binary mode (-ko) on commit/import.") unless
|
||||
$1 eq $rcsidstr;
|
||||
}
|
||||
|
||||
close(IN);
|
||||
|
@ -1527,6 +1528,11 @@ LIB_DEPENDS BUILD_DEPENDS RUN_DEPENDS FETCH_DEPENDS DEPENDS DEPENDS_TARGET
|
|||
"discouraged. redefine \"do-$1\" instead.");
|
||||
}
|
||||
|
||||
# check for incorrect use of the pre-everything target.
|
||||
if ($tmp =~ /\npre-everything:[^:]/) {
|
||||
&perror("FATAL: use pre-everything:: instead of pre-everything:");
|
||||
}
|
||||
|
||||
1;
|
||||
}
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
PORTNAME= portlint
|
||||
PORTVERSION= 2.3.3
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= # none
|
||||
DISTFILES= # none
|
||||
|
|
|
@ -629,7 +629,8 @@ sub checkpatch {
|
|||
}
|
||||
if ($committer && $whole =~ /\$([A-Za-z0-9]+)[:\$]/) {
|
||||
&perror("WARN: $file includes possible RCS tag \"\$$1\$\". ".
|
||||
"use binary mode (-ko) on commit/import.");
|
||||
"use binary mode (-ko) on commit/import.") unless
|
||||
$1 eq $rcsidstr;
|
||||
}
|
||||
|
||||
close(IN);
|
||||
|
@ -1527,6 +1528,11 @@ LIB_DEPENDS BUILD_DEPENDS RUN_DEPENDS FETCH_DEPENDS DEPENDS DEPENDS_TARGET
|
|||
"discouraged. redefine \"do-$1\" instead.");
|
||||
}
|
||||
|
||||
# check for incorrect use of the pre-everything target.
|
||||
if ($tmp =~ /\npre-everything:[^:]/) {
|
||||
&perror("FATAL: use pre-everything:: instead of pre-everything:");
|
||||
}
|
||||
|
||||
1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue