diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2011-06-07 18:42:31 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2011-06-07 18:42:31 +0000 |
commit | d34ae96e39b417598f311f5754691afb49663a2f (patch) | |
tree | 448da413c25b897a1174d2e2c02b50b2c4c8d536 /usr.bin/pkg-config | |
parent | e60e001d81ca154fe31485309b53ddd2013a8955 (diff) |
revert 'rc' handling for now, as it breaks iaxclient.
the underlying issue will be dealt with soon.
discussed with and ok sthen@
Diffstat (limited to 'usr.bin/pkg-config')
-rw-r--r-- | usr.bin/pkg-config/pkg-config | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/pkg-config/pkg-config b/usr.bin/pkg-config/pkg-config index a747ea58866..c2b721d9756 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.53 2011/06/07 12:22:46 jasper Exp $ +# $OpenBSD: pkg-config,v 1.54 2011/06/07 18:42:30 jasper Exp $ # $CSK: pkgconfig.pl,v 1.39 2006/11/27 16:26:20 ckuethe Exp $ # Copyright (c) 2006 Chris Kuethe <ckuethe@openbsd.org> @@ -572,13 +572,14 @@ sub compare # is there a valid non-numeric suffix to deal with later? # accepter are (in order): a(lpha) < b(eta) < rc < ' '. # suffix[0] is the 'alpha' part, suffix[1] is the '1' part in 'alpha1'. - if ($a =~ s/(rc|beta|b|alpha|a)(\d+)$//) { + # XXX: add back 'rc'. + if ($a =~ s/(beta|b|alpha|a)(\d+)$//) { print STDERR "valid suffix $1$2 found in $a.\n" if $D; $suffix_a[0] = $1; $suffix_a[1] = $2; } - if ($b =~ s/(rc|beta|b|alpha|a)(\d+)$//) { + if ($b =~ s/(beta|b|alpha|a)(\d+)$//) { print STDERR "valid suffix $1$2 found in $b.\n" if $D; $suffix_b[0] = $1; $suffix_b[1] = $2; |