summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2006-12-16 11:14:24 +0000
committerespie <espie@openbsd.org>2006-12-16 11:14:24 +0000
commit6a4fb915feefb06376282bbe3a79ddcb6bc8d066 (patch)
tree6cf43a279226d9994e970ff9eaefb579f3b59c7c
parent+.Ex -std fold (diff)
downloadwireguard-openbsd-6a4fb915feefb06376282bbe3a79ddcb6bc8d066.tar.xz
wireguard-openbsd-6a4fb915feefb06376282bbe3a79ddcb6bc8d066.zip
it's not an error for a variable not to be defined for some/all of the
*.pc files, see x11/gnome/yelp.
-rw-r--r--usr.bin/pkg-config/pkg-config5
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