diff options
author | 2006-12-16 17:14:34 +0000 | |
---|---|---|
committer | 2006-12-16 17:14:34 +0000 | |
commit | d0711094da5b5e7cd27d4a084da38883a68d54e1 (patch) | |
tree | d6ee4a55afed0ceea5696dbb99b03d2ae66cebae | |
parent | Get rid of PREFIXREGION ifdef, since we always enable it anyway. (diff) | |
download | wireguard-openbsd-d0711094da5b5e7cd27d4a084da38883a68d54e1.tar.xz wireguard-openbsd-d0711094da5b5e7cd27d4a084da38883a68d54e1.zip |
tweak slightly: not having the variable is okay, not finding the package
is still an error.
-rw-r--r-- | usr.bin/pkg-config/pkg-config | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/pkg-config/pkg-config b/usr.bin/pkg-config/pkg-config index b0689696412..42fa1b012a3 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.18 2006/12/16 11:14:24 espie Exp $ +# $OpenBSD: pkg-config,v 1.19 2006/12/16 17:14:34 espie Exp $ #$CSK: pkgconfig.pl,v 1.39 2006/11/27 16:26:20 ckuethe Exp $ # Copyright (c) 2006 Chris Kuethe <ckuethe@openbsd.org> @@ -343,8 +343,9 @@ sub do_variable if (defined $value) { push(@vlist, $value); } + return undef; } - return undef; + $rc = 1; } #if the modversion option is set, pull out the compiler flags |