diff options
author | Erwin Lansing <erwin@FreeBSD.org> | 2010-10-28 21:00:21 +0000 |
---|---|---|
committer | Erwin Lansing <erwin@FreeBSD.org> | 2010-10-28 21:00:21 +0000 |
commit | 74cb9eff53987d665ed6f9ad0cc2f12b0ff6c7b1 (patch) | |
tree | ad48552829801c7ac676a81a3cae90784899deb1 /ports-mgmt/portlint | |
parent | 177bfcca33f906e2fba90964362be8334951b265 (diff) | |
download | ports-74cb9eff53987d665ed6f9ad0cc2f12b0ff6c7b1.tar.gz ports-74cb9eff53987d665ed6f9ad0cc2f12b0ff6c7b1.zip |
Notes
Diffstat (limited to 'ports-mgmt/portlint')
-rw-r--r-- | ports-mgmt/portlint/src/portlint.pl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ports-mgmt/portlint/src/portlint.pl b/ports-mgmt/portlint/src/portlint.pl index fa880bf2c3ae..47bc79c8a396 100644 --- a/ports-mgmt/portlint/src/portlint.pl +++ b/ports-mgmt/portlint/src/portlint.pl @@ -195,7 +195,7 @@ my @varlist = qw( DISTNAME DISTFILES CATEGORIES MASTERDIR MAINTAINER MASTER_SITES WRKDIR WRKSRC NO_WRKSUBDIR PATCHDIR SCRIPTDIR FILESDIR PKGDIR COMMENT DESCR PLIST PKGCATEGORY PKGINSTALL PKGDEINSTALL - PKGREQ PKGMESSAGE MD5_FILE .CURDIR USE_LDCONFIG USE_AUTOTOOLS + PKGREQ PKGMESSAGE DISTINFO_FILE .CURDIR USE_LDCONFIG USE_AUTOTOOLS INDEXFILE PKGORIGIN CONFLICTS PKG_VERSION PKGINSTALLVER PLIST_FILES OPTIONS INSTALLS_OMF USE_GETTEXT USE_RC_SUBR DIST_SUBDIR ALLFILES IGNOREFILES CHECKSUM_ALGORITHMS INSTALLS_ICONS @@ -269,11 +269,11 @@ close(IN); # # check for files. # -my @checker = ($makevar{DESCR}, 'Makefile', $makevar{MD5_FILE}); +my @checker = ($makevar{DESCR}, 'Makefile', $makevar{DISTINFO_FILE}); my %checker = ( $makevar{DESCR} => \&checkdescr, 'Makefile' => \&checkmakefile, - $makevar{MD5_FILE} => \&checkdistinfo + $makevar{DISTINFO_FILE} => \&checkdistinfo ); if ($extrafile) { my @files = ( @@ -311,7 +311,7 @@ foreach my $i (<$makevar{PATCHDIR}/patch-*>) { foreach my $i (@checker) { print "OK: checking $i.\n" if ($verbose); if (! -f "$i") { - &perror("FATAL", "", -1, "no $i in \"$portdir\".") unless $i eq $makevar{MD5_FILE} && $makevar{DISTFILES} eq ""; + &perror("FATAL", "", -1, "no $i in \"$portdir\".") unless $i eq $makevar{DISTINFO_FILE} && $makevar{DISTFILES} eq ""; } else { my $proc = $checker{$i}; &$proc($i) || &perror("", "", -1, "Cannot open the file $i\n"); |