summaryrefslogtreecommitdiff
path: root/usr.bin/pkg-config
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2014-11-02 01:11:48 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2014-11-02 01:11:48 +0000
commit610b7d170cb756c9682c73ea66b950f984d93bea (patch)
treee4ae9e62f83c5a3c689267b47059099886c9b897 /usr.bin/pkg-config
parent5b9e4787ee5fe2ae7e34dabf1d84eaedcaa6a443 (diff)
Allow for requests such as "foo != some.version".
The code was already there but unreachable. ok jasper@
Diffstat (limited to 'usr.bin/pkg-config')
-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 59df1df8994..83ea4cf2c80 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.82 2014/07/10 08:20:13 jasper Exp $
+# $OpenBSD: pkg-config,v 1.83 2014/11/02 01:11:47 jca Exp $
# $CSK: pkgconfig.pl,v 1.39 2006/11/27 16:26:20 ckuethe Exp $
# Copyright (c) 2006 Chris Kuethe <ckuethe@openbsd.org>
@@ -165,7 +165,7 @@ while (@ARGV){
my $p = shift @ARGV;
my $op = undef;
my $v = undef;
- if (@ARGV >= 2 && $ARGV[0] =~ /^[<=>]+$/ &&
+ if (@ARGV >= 2 && $ARGV[0] =~ /^[<=>!]+$/ &&
$ARGV[1] =~ /^[\d\.]+[\w\.]*$/) {
$op = shift @ARGV;
$v = shift @ARGV;