handle PATCHFILES, ignore CHECKSUM_FILE

This commit is contained in:
espie 2011-01-04 21:55:19 +00:00
parent f90f6db6eb
commit f238ba6e80
2 changed files with 6 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# $OpenBSD: Makefile,v 1.31 2010/11/26 20:32:38 espie Exp $
# $OpenBSD: Makefile,v 1.32 2011/01/04 21:55:19 espie Exp $
CATEGORIES = databases
V = 1.14
V = 1.15
DISTNAME = sqlports-$V
DISTFILES =
COMMENT = sqlite database of ports

View File

@ -1,5 +1,5 @@
#! /usr/bin/perl
# $OpenBSD: mksqlitedb,v 1.29 2010/11/26 20:32:38 espie Exp $
# $OpenBSD: mksqlitedb,v 1.30 2011/01/04 21:55:19 espie Exp $
#
# Copyright (c) 2006-2010 Marc Espie <espie@openbsd.org>
#
@ -55,13 +55,14 @@ my $vars = {
AUTOMAKE_VERSION => 'AutoVersionVar',
BROKEN => 'BrokenVar',
BUILD_DEPENDS => 'BuildDependsVar',
CATEGORIES=> 'CategoriesVar',
CATEGORIES => 'CategoriesVar',
COMES_WITH => 'DefinedVar',
COMMENT => 'AnyVar',
CONFIGURE_ARGS => 'ConfigureArgsVar',
CONFIGURE_STYLE => 'ConfigureVar',
DESCR => 'FileVar',
DISTFILES => 'AnyVar',
PATCHFILES => 'AnyVar',
DISTNAME => 'AnyVar',
DIST_SUBDIR => 'DefinedVar',
EPOCH => 'AnyVar',
@ -151,6 +152,7 @@ $inserter->finish_port;
$inserter->commit_to_db;
while (my ($k, $v) = each %$unknown) {
next if $k eq 'CHECKSUM_FILE';
print STDERR "Unknown variable $k in $v\n";
}