teach register-plist that pkgspec-version is equivalent to pkgspec-=version
This commit is contained in:
parent
8392c16198
commit
3f9f91390c
@ -1,6 +1,6 @@
|
||||
#! /usr/bin/perl
|
||||
|
||||
# $OpenBSD: register-plist,v 1.3 2010/11/07 00:01:40 espie Exp $
|
||||
# $OpenBSD: register-plist,v 1.4 2010/11/26 07:17:10 espie Exp $
|
||||
# Copyright (c) 2005
|
||||
# Marc Espie. All rights reserved.
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
@ -221,6 +221,7 @@ sub compare
|
||||
sub forgetful_key
|
||||
{
|
||||
my $self = shift;
|
||||
$self->{name} =~ s/\-\=(\d)/\-$1/;
|
||||
return join(':', 'depend', $self->{name}, $self->{pkgpath}, $self->{pattern});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user