pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint Updated pkglint to 4.40.
details: https://anonhg.NetBSD.org/pkgsrc/rev/690efa85133c
branches: trunk
changeset: 502897:690efa85133c
user: rillig <rillig%pkgsrc.org@localhost>
date: Thu Nov 10 14:30:56 2005 +0000
description:
Updated pkglint to 4.40.
- Removed all references to the build-time pkgsrc directory, ${PKGSRCDIR}.
This makes the binary package independent of the build location.
Fixes PR 32006.
diffstat:
pkgtools/pkglint/Makefile | 8 +++-----
pkgtools/pkglint/files/lintpkgsrc.pl | 6 +++---
pkgtools/pkglint/files/pkglint.0 | 3 +--
pkgtools/pkglint/files/pkglint.1 | 10 ++++------
pkgtools/pkglint/files/plist-clash.pl | 4 +---
5 files changed, 12 insertions(+), 19 deletions(-)
diffs (114 lines):
diff -r b1281e2c5142 -r 690efa85133c pkgtools/pkglint/Makefile
--- a/pkgtools/pkglint/Makefile Thu Nov 10 14:30:29 2005 +0000
+++ b/pkgtools/pkglint/Makefile Thu Nov 10 14:30:56 2005 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.291 2005/11/10 11:03:57 rillig Exp $
+# $NetBSD: Makefile,v 1.292 2005/11/10 14:30:56 rillig Exp $
#
-DISTNAME= pkglint-4.39
+DISTNAME= pkglint-4.40
CATEGORIES= pkgtools devel
MASTER_SITES= # empty
DISTFILES= # empty
@@ -27,9 +27,7 @@
SUBST_STAGE.pkglint= post-configure
SUBST_FILES.pkglint+= lintpkgsrc.0 lintpkgsrc.1 lintpkgsrc.pl
SUBST_FILES.pkglint+= pkglint.0 pkglint.1 pkglint.pl
-SUBST_FILES.pkglint+= plist-clash.pl
SUBST_SED.pkglint+= -e 's|@PREFIX@|${PREFIX}|g'
-SUBST_SED.pkglint+= -e 's|@PKGSRCDIR@|${PKGSRCDIR}|g'
SUBST_SED.pkglint+= -e 's|@DISTVER@|${DISTNAME:S/pkglint-//}|g'
SUBST_SED.pkglint+= -e 's|@MAKE@|${MAKE}|g'
SUBST_SED.pkglint+= -e 's|@PERL@|${PERL5}|g'
@@ -42,7 +40,7 @@
.endif
do-extract:
-.for f in ${SUBST_FILES.pkglint}
+.for f in lintpkgsrc.0 lintpkgsrc.1 lintpkgsrc.pl pkglint.0 pkglint.1 pkglint.pl plist-clash.pl
@${CP} ${FILESDIR}/${f} ${WRKSRC}/${f}
.endfor
diff -r b1281e2c5142 -r 690efa85133c pkgtools/pkglint/files/lintpkgsrc.pl
--- a/pkgtools/pkglint/files/lintpkgsrc.pl Thu Nov 10 14:30:29 2005 +0000
+++ b/pkgtools/pkglint/files/lintpkgsrc.pl Thu Nov 10 14:30:56 2005 +0000
@@ -1,6 +1,6 @@
#!@PERL@
-# $NetBSD: lintpkgsrc.pl,v 1.104 2005/11/08 23:05:22 rillig Exp $
+# $NetBSD: lintpkgsrc.pl,v 1.105 2005/11/10 14:30:56 rillig Exp $
# Written by David Brownlee <abs%netbsd.org@localhost>.
#
@@ -440,7 +440,7 @@
if ($opt{P})
{ $default_vars->{PKGSRCDIR} = $opt{P}; }
else
- { $default_vars->{PKGSRCDIR} = '@PKGSRCDIR@'; }
+ { $default_vars->{PKGSRCDIR} = '/usr/pkgsrc'; }
$default_vars->{DESTDIR} = '';
$default_vars->{LOCALBASE} = '/usr/pkg';
@@ -1391,7 +1391,7 @@
Modifiers:
-K path : Set PACKAGES basedir (default PKGSRCDIR/packages)
-M path : Set DISTDIR (default PKGSRCDIR/distfiles)
- -P path : Set PKGSRCDIR (default @PKGSRCDIR@)
+ -P path : Set PKGSRCDIR (default /usr/pkgsrc)
-D : Debug makefile and glob parsing
-L : List each Makefile when scanned
";
diff -r b1281e2c5142 -r 690efa85133c pkgtools/pkglint/files/pkglint.0
--- a/pkgtools/pkglint/files/pkglint.0 Thu Nov 10 14:30:29 2005 +0000
+++ b/pkgtools/pkglint/files/pkglint.0 Thu Nov 10 14:30:56 2005 +0000
@@ -95,8 +95,7 @@
ted, the current directory is checked.
FFIILLEESS
- @PKGSRCDIR@/mk/bsd.pkg.mk The pkgsrc master Makefile.
- @PKGSRCDIR@/* Other pkgsrc files.
+ pkgsrc/mk/* Files from the pkgsrc infrastructure.
EEXXAAMMPPLLEESS
ppkkgglliinntt --CCnnoonnee,,ppaattcchheess ..
diff -r b1281e2c5142 -r 690efa85133c pkgtools/pkglint/files/pkglint.1
--- a/pkgtools/pkglint/files/pkglint.1 Thu Nov 10 14:30:29 2005 +0000
+++ b/pkgtools/pkglint/files/pkglint.1 Thu Nov 10 14:30:56 2005 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pkglint.1,v 1.24 2005/11/04 09:32:03 rillig Exp $
+.\" $NetBSD: pkglint.1,v 1.25 2005/11/10 14:30:56 rillig Exp $
.\" From FreeBSD: portlint.1,v 1.8 1997/11/25 14:53:14 itojun Exp
.\"
.\" Copyright (c) 1997 by Jun-ichiro Itoh <itojun%itojun.org@localhost>.
@@ -110,11 +110,9 @@
If omitted, the current directory is checked.
.El
.Sh FILES
-.Bl -tag -width /usr/pkgsrc/mk/bsd.pkg.mk -compact
-.It Pa @PKGSRCDIR@/mk/bsd.pkg.mk
-The pkgsrc master Makefile.
-.It Pa @PKGSRCDIR@/*
-Other pkgsrc files.
+.Bl -tag -width pkgsrc/mk/* -compact
+.It Pa pkgsrc/mk/*
+Files from the pkgsrc infrastructure.
.El
.Sh EXAMPLES
.Bl -tag -width Fl
diff -r b1281e2c5142 -r 690efa85133c pkgtools/pkglint/files/plist-clash.pl
--- a/pkgtools/pkglint/files/plist-clash.pl Thu Nov 10 14:30:29 2005 +0000
+++ b/pkgtools/pkglint/files/plist-clash.pl Thu Nov 10 14:30:56 2005 +0000
@@ -1,11 +1,9 @@
#! @PERL@
-# $NetBSD: plist-clash.pl,v 1.4 2005/10/24 20:56:53 rillig Exp $
+# $NetBSD: plist-clash.pl,v 1.5 2005/11/10 14:30:56 rillig Exp $
#
# Scan all PLIST files given on the command line and report all lines
# that appear more than once.
-my $conf_rootdir = '@PKGSRCDIR@';
-
my %files = ();
sub read_PLIST($) {
Home |
Main Index |
Thread Index |
Old Index