diff options
author | rillig <rillig@pkgsrc.org> | 2005-11-20 12:32:17 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-11-20 12:32:17 +0000 |
commit | 5efd66f548cebf8ec212e15ac2e0b44e556d028a (patch) | |
tree | e23e404d23248494a2177a465dff30e49645859c /pkgtools | |
parent | e38b91c74c7f2eabac769c7e40e6fc22f7db0376 (diff) | |
download | pkgsrc-5efd66f548cebf8ec212e15ac2e0b44e556d028a.tar.gz |
Use $conf_pkgsrcdir instead of hard-coded "/usr/pkgsrc".
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 3cb2f14adce..8630bb42dc2 100755 --- a/pkgtools/pkglint/files/lintpkgsrc.pl +++ b/pkgtools/pkglint/files/lintpkgsrc.pl @@ -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>. # @@ -446,7 +446,7 @@ sub get_default_makefile_vars 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 @@ 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 $conf_pkgsrcdir) -D : Debug makefile and glob parsing -L : List each Makefile when scanned "; |