summaryrefslogtreecommitdiffstats
path: root/devel/portlint
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2003-03-07 17:00:43 +0000
committerpetef <petef@FreeBSD.org>2003-03-07 17:00:43 +0000
commita68abe36bf666c3d971391dd24e2043ed4419296 (patch)
treeceab9a30aab202b94005fcd6279ead44619dcff9 /devel/portlint
parent3bffa01445edf195d002c7ee42bab0fb2f7f1bf3 (diff)
downloadFreeBSD-ports-a68abe36bf666c3d971391dd24e2043ed4419296.zip
FreeBSD-ports-a68abe36bf666c3d971391dd24e2043ed4419296.tar.gz
- 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)
Diffstat (limited to 'devel/portlint')
-rw-r--r--devel/portlint/Makefile2
-rw-r--r--devel/portlint/src/portlint.pl8
2 files changed, 8 insertions, 2 deletions
diff --git a/devel/portlint/Makefile b/devel/portlint/Makefile
index 3a6b09f..6c14f60 100644
--- a/devel/portlint/Makefile
+++ b/devel/portlint/Makefile
@@ -9,7 +9,7 @@
PORTNAME= portlint
PORTVERSION= 2.3.3
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= devel
MASTER_SITES= # none
DISTFILES= # none
diff --git a/devel/portlint/src/portlint.pl b/devel/portlint/src/portlint.pl
index f877f1b..cd92ae7 100644
--- a/devel/portlint/src/portlint.pl
+++ b/devel/portlint/src/portlint.pl
@@ -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;
}
OpenPOWER on IntegriCloud