From aaa9a0cd63c5e74143d5f5edbefd73939c612fe2 Mon Sep 17 00:00:00 2001 From: espie Date: Mon, 18 Sep 2006 12:56:22 +0000 Subject: [PATCH] remove hack to recognize .0.0. --- infrastructure/build/resolve-lib | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/infrastructure/build/resolve-lib b/infrastructure/build/resolve-lib index 8cb3cdc727a..c24e30c400a 100644 --- a/infrastructure/build/resolve-lib +++ b/infrastructure/build/resolve-lib @@ -1,5 +1,5 @@ #! /usr/bin/perl -# $OpenBSD: resolve-lib,v 1.15 2006/09/18 11:30:08 espie Exp $ +# $OpenBSD: resolve-lib,v 1.16 2006/09/18 12:56:22 espie Exp $ # # Copyright (c) 2001, 2005 Marc Espie # @@ -60,11 +60,7 @@ sub parse_spec_versions $spec = $`; $req->{noshared} = 1; } else { - if ($spec =~ m/\.0\.0$/) { - $req->{major} = 0; - $req->{minor} = 0; - $spec = $`; - } elsif ($spec =~ m/\.(\>?)\=(\d+)\.(\d+)$/) { + if ($spec =~ m/\.(\>?)\=(\d+)\.(\d+)$/) { $req->{major} = $2; $req->{minor} = $3; $spec = $`;