summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2010-06-05 09:15:56 +0000
committerMarc Espie <espie@cvs.openbsd.org>2010-06-05 09:15:56 +0000
commit1590480564f47ed7e550f7e776408387a98e6bf8 (patch)
treefc3da0eab38147634267ad4e12d953d86827c788
parent08ef65f229c01922db0de0ef22a3d5d12270e999 (diff)
move use to common part
-rw-r--r--usr.sbin/pkg_add/OpenBSD/AddCreateDelete.pm4
-rw-r--r--usr.sbin/pkg_add/OpenBSD/AddDelete.pm4
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PkgCreate.pm4
3 files changed, 5 insertions, 7 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/AddCreateDelete.pm b/usr.sbin/pkg_add/OpenBSD/AddCreateDelete.pm
index 249ebb59adf..7a85e9ebb95 100644
--- a/usr.sbin/pkg_add/OpenBSD/AddCreateDelete.pm
+++ b/usr.sbin/pkg_add/OpenBSD/AddCreateDelete.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: AddCreateDelete.pm,v 1.1 2010/06/04 13:19:39 espie Exp $
+# $OpenBSD: AddCreateDelete.pm,v 1.2 2010/06/05 09:15:55 espie Exp $
#
# Copyright (c) 2007-2010 Marc Espie <espie@openbsd.org>
#
@@ -22,6 +22,8 @@ use warnings;
# common framework, let's place most everything in there
package OpenBSD::AddCreateDelete::State;
+use OpenBSD::Subst;
+use OpenBSD::ProgressMeter;
sub new
{
diff --git a/usr.sbin/pkg_add/OpenBSD/AddDelete.pm b/usr.sbin/pkg_add/OpenBSD/AddDelete.pm
index 284a5824a4f..a81f9140020 100644
--- a/usr.sbin/pkg_add/OpenBSD/AddDelete.pm
+++ b/usr.sbin/pkg_add/OpenBSD/AddDelete.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: AddDelete.pm,v 1.22 2010/06/05 07:35:21 landry Exp $
+# $OpenBSD: AddDelete.pm,v 1.23 2010/06/05 09:15:55 espie Exp $
#
# Copyright (c) 2007-2010 Marc Espie <espie@openbsd.org>
#
@@ -26,9 +26,7 @@ our $not;
package OpenBSD::AddDelete;
use OpenBSD::Error;
use OpenBSD::Paths;
-use OpenBSD::ProgressMeter;
use OpenBSD::PackageInfo;
-use OpenBSD::Subst;
use OpenBSD::AddCreateDelete;
our @ISA = qw(OpenBSD::AddCreateDelete);
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm b/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm
index ab9f30763de..33f15a029ae 100644
--- a/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm
@@ -1,6 +1,6 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: PkgCreate.pm,v 1.2 2010/06/04 17:29:53 espie Exp $
+# $OpenBSD: PkgCreate.pm,v 1.3 2010/06/05 09:15:55 espie Exp $
#
# Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org>
#
@@ -55,8 +55,6 @@ use OpenBSD::Error;
use OpenBSD::Ustar;
use OpenBSD::ArcCheck;
use OpenBSD::Paths;
-use OpenBSD::Subst;
-use OpenBSD::ProgressMeter;
use File::Basename;
# Extra stuff needed to archive files