diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2006-12-16 11:14:25 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2006-12-16 11:14:25 +0000 |
commit | b63e93d285f5b4780d059c1c782d157ec880df72 (patch) | |
tree | 5d08fbf2f11cf7d7cdf62d88f111686759eec6b2 /usr.bin/pkg-config | |
parent | 0c5eb8a27e7403b71a79c69df685f06494a92872 (diff) |
it's not an error for a variable not to be defined for some/all of the
*.pc files, see x11/gnome/yelp.
Diffstat (limited to 'usr.bin/pkg-config')
-rw-r--r-- | usr.bin/pkg-config/pkg-config | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/pkg-config/pkg-config b/usr.bin/pkg-config/pkg-config index 2e9885f2d79..b0689696412 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.17 2006/12/14 22:45:21 espie Exp $ +# $OpenBSD: pkg-config,v 1.18 2006/12/16 11:14:24 espie Exp $ #$CSK: pkgconfig.pl,v 1.39 2006/11/27 16:26:20 ckuethe Exp $ # Copyright (c) 2006 Chris Kuethe <ckuethe@openbsd.org> @@ -342,10 +342,9 @@ sub do_variable my $value = $cfg->get_variable($v, $variables); if (defined $value) { push(@vlist, $value); - return undef; } } - $rc = 1; + return undef; } #if the modversion option is set, pull out the compiler flags |