pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Don't use hard-coded /usr/pkgsr...
details: https://anonhg.NetBSD.org/pkgsrc/rev/97daee63eb83
branches: trunk
changeset: 493453:97daee63eb83
user: rillig <rillig%pkgsrc.org@localhost>
date: Sat May 07 00:04:33 2005 +0000
description:
Don't use hard-coded /usr/pkgsrc, but @PKGSRCDIR@. Approved by wiz.
diffstat:
pkgtools/pkglint/files/lintpkgsrc.pl | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 06b4811ccf08 -r 97daee63eb83 pkgtools/pkglint/files/lintpkgsrc.pl
--- a/pkgtools/pkglint/files/lintpkgsrc.pl Fri May 06 23:28:50 2005 +0000
+++ b/pkgtools/pkglint/files/lintpkgsrc.pl Sat May 07 00:04:33 2005 +0000
@@ -1,6 +1,6 @@
#!@PERL@
-# $NetBSD: lintpkgsrc.pl,v 1.98 2005/04/04 11:04:33 abs Exp $
+# $NetBSD: lintpkgsrc.pl,v 1.99 2005/05/07 00:04:33 rillig Exp $
# Written by David Brownlee <abs%netbsd.org@localhost>.
#
@@ -442,7 +442,7 @@
if ($opt{P})
{ $default_vars->{PKGSRCDIR} = $opt{P}; }
else
- { $default_vars->{PKGSRCDIR} = '/usr/pkgsrc'; }
+ { $default_vars->{PKGSRCDIR} = '@PKGSRCDIR@'; }
$default_vars->{DESTDIR} = '';
$default_vars->{LOCALBASE} = '/usr/pkg';
@@ -1418,7 +1418,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 @PKGSRCDIR@)
-D : Debug makefile and glob parsing
-L : List each Makefile when scanned
";
Home |
Main Index |
Thread Index |
Old Index