pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

RE: pkgsrc/38609: lintpkgsrc complains about MesaLib Makefile error, can't build glx-utils




  My fix to lintpkgsrc is to add another check for a broken $pkgname around line 863 of lintpkgsrc:


#diff -c `which lintpkgsrc` /tmp/lintpkgsrc
*** /usr/pkg/bin/lintpkgsrc     Tue May 20 10:32:53 2008
--- /tmp/lintpkgsrc     Tue May 20 10:28:52 2008
***************
*** 860,866 ****
          debug("$file: DISTNAME=$vars->{DISTNAME}\n");
      }
 
!     if ( !defined $pkgname || $pkgname !~ /(.*)-(\d.*)/ ) {
 
          # invoke make here as a last resort
          my ($pkgsrcdir) = ( $file =~ m:(/.*)/: );
--- 860,866 ----
          debug("$file: DISTNAME=$vars->{DISTNAME}\n");
      }
 
!     if ( !defined $pkgname || $pkgname !~ /(.*)-(\d.*)/ || $pkgname =~ /\$/ ) {
 
          # invoke make here as a last resort
          my ($pkgsrcdir) = ( $file =~ m:(/.*)/: );



Keep your kids safer online with Windows Live Family Safety. Help protect your kids.


Home | Main Index | Thread Index | Old Index