Index: Makefile =================================================================== RCS file: /cvsroot/pkgsrc/pkgtools/lintpkgsrc/Makefile,v retrieving revision 1.22 diff -u -p -r1.22 Makefile --- Makefile 5 Oct 2015 13:12:12 -0000 1.22 +++ Makefile 25 Nov 2015 17:50:15 -0000 @@ -1,6 +1,6 @@ # $NetBSD: Makefile,v 1.22 2015/10/05 13:12:12 tnn Exp $ -PKGNAME= lintpkgsrc-4.90 +PKGNAME= lintpkgsrc-4.91 CATEGORIES= pkgtools MAINTAINER= pkgsrc-users@NetBSD.org Index: files/lintpkgsrc.pl =================================================================== RCS file: /cvsroot/pkgsrc/pkgtools/lintpkgsrc/files/lintpkgsrc.pl,v retrieving revision 1.8 diff -u -p -r1.8 lintpkgsrc.pl --- files/lintpkgsrc.pl 5 Oct 2015 13:16:44 -0000 1.8 +++ files/lintpkgsrc.pl 25 Nov 2015 17:50:15 -0000 @@ -627,7 +627,7 @@ sub get_default_makefile_vars() { $default_vars->{LOWER_OPSYS} = lc( $default_vars->{OPSYS} ); if ( $opt{P} ) { - $default_vars->{PKGSRCDIR} = $opt{P}; + $default_vars->{PKGSRCDIR} = realpath($opt{P}); } else { $default_vars->{PKGSRCDIR} = $conf_pkgsrcdir; @@ -646,18 +646,18 @@ sub get_default_makefile_vars() { } if ( $opt{P} ) { - $default_vars->{PKGSRCDIR} = $opt{P}; + $default_vars->{PKGSRCDIR} = realpath($opt{P}); } if ( $opt{M} ) { - $default_vars->{DISTDIR} = $opt{M}; + $default_vars->{DISTDIR} = realpath($opt{M}); } else { $default_vars->{DISTDIR} ||= $default_vars->{PKGSRCDIR} . '/distfiles'; } if ( $opt{K} ) { - $default_vars->{PACKAGES} = $opt{K}; + $default_vars->{PACKAGES} = realpath($opt{K}); } # Extract some variables from bsd.pkg.mk