diff options
author | rillig <rillig> | 2005-05-07 00:04:33 +0000 |
---|---|---|
committer | rillig <rillig> | 2005-05-07 00:04:33 +0000 |
commit | 5aa59c85b0a52fc44ef7dbd9e26704a1d99e6840 (patch) | |
tree | 009bb7e33a7df8d4d839b21e649b7c6d227045df /pkgtools | |
parent | 04319444aecdfbd9281ffd55a09180fa44b82ca9 (diff) | |
download | pkgsrc-5aa59c85b0a52fc44ef7dbd9e26704a1d99e6840.tar.gz |
Don't use hard-coded /usr/pkgsrc, but @PKGSRCDIR@. Approved by wiz.
Diffstat (limited to 'pkgtools')
-rwxr-xr-x | pkgtools/pkglint/files/lintpkgsrc.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkglint/files/lintpkgsrc.pl b/pkgtools/pkglint/files/lintpkgsrc.pl index 6d1d96b479c..9e00a4aae27 100755 --- a/pkgtools/pkglint/files/lintpkgsrc.pl +++ b/pkgtools/pkglint/files/lintpkgsrc.pl @@ -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>. # @@ -442,7 +442,7 @@ sub get_default_makefile_vars 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 @@ Misc: 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 "; |