summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2009-11-15 09:53:53 +0000
committerMarc Espie <espie@cvs.openbsd.org>2009-11-15 09:53:53 +0000
commit4932af39fc6e565b626e0a09990b26479b77f17c (patch)
treeb061ec45e7d728d8b8b37e42207df3e2156b63a0
parent9880571106c944fe4685167f366b061a55a1f5c7 (diff)
make these independent from Getopt, require Exporter
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Error.pm3
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackageInfo.pm3
2 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Error.pm b/usr.sbin/pkg_add/OpenBSD/Error.pm
index 3f9947da105..d770ae7f7d1 100644
--- a/usr.sbin/pkg_add/OpenBSD/Error.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Error.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Error.pm,v 1.18 2009/11/11 11:13:16 espie Exp $
+# $OpenBSD: Error.pm,v 1.19 2009/11/15 09:53:52 espie Exp $
#
# Copyright (c) 2004 Marc Espie <espie@openbsd.org>
#
@@ -18,6 +18,7 @@ use strict;
use warnings;
package OpenBSD::Error;
+require Exporter;
our @ISA=qw(Exporter);
our @EXPORT=qw(System VSystem Copy Unlink Fatal Warn Usage set_usage
try throw catch catchall rethrow);
diff --git a/usr.sbin/pkg_add/OpenBSD/PackageInfo.pm b/usr.sbin/pkg_add/OpenBSD/PackageInfo.pm
index ac939502304..c2045cc4a4d 100644
--- a/usr.sbin/pkg_add/OpenBSD/PackageInfo.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PackageInfo.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: PackageInfo.pm,v 1.43 2009/11/11 12:04:19 espie Exp $
+# $OpenBSD: PackageInfo.pm,v 1.44 2009/11/15 09:53:52 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -19,6 +19,7 @@ use strict;
use warnings;
package OpenBSD::PackageInfo;
+require Exporter;
our @ISA=qw(Exporter);
our @EXPORT=qw(installed_packages installed_info installed_name info_names is_info_name installed_stems
lock_db unlock_db