diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-05-01 19:48:31 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-05-01 19:48:31 +0000 |
commit | 1ab8b8d5728fa14becbb3e7852d6de9ce7f2d407 (patch) | |
tree | d44faae1ecfbd05e9e1ccbd05054a134d882038b /usr.sbin | |
parent | d724568e4d8b294fda5d482bf9232e5b3b98b366 (diff) |
unique objects probably use their class name as category.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PackingElement.pm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm index c0423422585..4fd1a192554 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PackingElement.pm,v 1.95 2007/05/01 18:46:02 espie Exp $ +# $OpenBSD: PackingElement.pm,v 1.96 2007/05/01 19:48:30 espie Exp $ # # Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org> # @@ -236,6 +236,11 @@ sub add_object return $self; } +sub category +{ + return ref(shift); +} + # all dependency information package OpenBSD::PackingElement::Depend; our @ISA=qw(OpenBSD::PackingElement::Meta); |