pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Use $conf_pkgsrcdir instead of ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f68ea2f52a4f
branches: trunk
changeset: 503424:f68ea2f52a4f
user: rillig <rillig%pkgsrc.org@localhost>
date: Sun Nov 20 12:32:17 2005 +0000
description:
Use $conf_pkgsrcdir instead of hard-coded "/usr/pkgsrc".
diffstat:
pkgtools/pkglint/files/lintpkgsrc.pl | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r c9b4267f025d -r f68ea2f52a4f pkgtools/pkglint/files/lintpkgsrc.pl
--- a/pkgtools/pkglint/files/lintpkgsrc.pl Sun Nov 20 12:27:18 2005 +0000
+++ b/pkgtools/pkglint/files/lintpkgsrc.pl Sun Nov 20 12:32:17 2005 +0000
@@ -1,6 +1,6 @@
#!@PERL@
-# $NetBSD: lintpkgsrc.pl,v 1.107 2005/11/20 12:27:18 rillig Exp $
+# $NetBSD: lintpkgsrc.pl,v 1.108 2005/11/20 12:32:17 rillig Exp $
# Written by David Brownlee <abs%netbsd.org@localhost>.
#
@@ -446,7 +446,7 @@
if ($opt{P})
{ $default_vars->{PKGSRCDIR} = $opt{P}; }
else
- { $default_vars->{PKGSRCDIR} = '/usr/pkgsrc'; }
+ { $default_vars->{PKGSRCDIR} = $conf_pkgsrcdir; }
$default_vars->{DESTDIR} = '';
$default_vars->{LOCALBASE} = '/usr/pkg';
@@ -1397,7 +1397,7 @@
Modifiers:
-K path : Set PACKAGES basedir (default PKGSRCDIR/packages)
-M path : Set DISTDIR (default PKGSRCDIR/distfiles)
- -P path : Set PKGSRCDIR (default /usr/pkgsrc)
+ -P path : Set PKGSRCDIR (default $conf_pkgsrcdir)
-D : Debug makefile and glob parsing
-L : List each Makefile when scanned
";
Home |
Main Index |
Thread Index |
Old Index