summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2005-09-11 10:12:02 +0000
committerMarc Espie <espie@cvs.openbsd.org>2005-09-11 10:12:02 +0000
commita41230bd9d8a92512c8b7f18080b4d255c500461 (patch)
treec68b0ea4362aa08dd553428810f8ed302bae6551
parent2c80dde76ea919097e78732b08954bb5d84e1df9 (diff)
downgrade @pkgdep from deprecated to actual error.
-rw-r--r--usr.sbin/pkg_add/pkg_create3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/pkg_create b/usr.sbin/pkg_add/pkg_create
index d0754ad85c7..296b18b45e0 100644
--- a/usr.sbin/pkg_add/pkg_create
+++ b/usr.sbin/pkg_add/pkg_create
@@ -1,6 +1,6 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: pkg_create,v 1.39 2005/09/07 14:01:59 jmc Exp $
+# $OpenBSD: pkg_create,v 1.40 2005/09/11 10:12:01 espie Exp $
#
# Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org>
#
@@ -498,6 +498,7 @@ if (defined $plist->{pkgcfl}) {
}
if (defined $plist->{pkgdep}) {
print STDERR "\@pkgdep is obsolete, use \@depend instead\n";
+ $errors++;
}
if ($errors) {
exit(1);