summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2011-03-21 13:28:07 +0000
committerMarc Espie <espie@cvs.openbsd.org>2011-03-21 13:28:07 +0000
commit6a3302093712e6683b549ea2428fca2eba4ac4a2 (patch)
tree891478834c39453012fb90d6b9298857b3a05000 /usr.bin
parent8fb17479cf28187985f559241e3c8bb097b11caa (diff)
fix audacity. Make specs like >= 0.14.2b kosher
(missed by landry's bulk, obviously).
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/pkg-config/pkg-config4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/pkg-config/pkg-config b/usr.bin/pkg-config/pkg-config
index 77a2e6e8434..3206236cfc8 100644
--- a/usr.bin/pkg-config/pkg-config
+++ b/usr.bin/pkg-config/pkg-config
@@ -1,5 +1,5 @@
#!/usr/bin/perl
-# $OpenBSD: pkg-config,v 1.41 2011/03/18 18:21:40 jasper Exp $
+# $OpenBSD: pkg-config,v 1.42 2011/03/21 13:28:06 espie Exp $
# $CSK: pkgconfig.pl,v 1.39 2006/11/27 16:26:20 ckuethe Exp $
# Copyright (c) 2006 Chris Kuethe <ckuethe@openbsd.org>
@@ -141,7 +141,7 @@ while (@ARGV){
my $op = undef;
my $v = undef;
if (@ARGV >= 2 && $ARGV[0] =~ /^[<=>]+$/ &&
- $ARGV[1] =~ /^[\d\.]+$/) {
+ $ARGV[1] =~ /^[\d\.]+\w?$/) {
$op = shift @ARGV;
$v = shift @ARGV;
}