diff options
author | 2015-10-26 18:08:44 +0000 | |
---|---|---|
committer | 2015-10-26 18:08:44 +0000 | |
commit | 926c576bd4d56ed0e421b07e0b8c5f70bfe1f4d8 (patch) | |
tree | ce6a5aed1b0dac4dbafa1df81125652cc17b1da2 | |
parent | tweak previous; (diff) | |
download | wireguard-openbsd-926c576bd4d56ed0e421b07e0b8c5f70bfe1f4d8.tar.xz wireguard-openbsd-926c576bd4d56ed0e421b07e0b8c5f70bfe1f4d8.zip |
Don't reject properties with no whitespace after the colon; it's perfectly
valid to have a line like 'Requires:requiree'.
Confirmed with fd.o and this fixes using the libczmq pc file
-rw-r--r-- | usr.bin/pkg-config/OpenBSD/PkgConfig.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/pkg-config/OpenBSD/PkgConfig.pm b/usr.bin/pkg-config/OpenBSD/PkgConfig.pm index 28227e730d8..6b4791335e9 100644 --- a/usr.bin/pkg-config/OpenBSD/PkgConfig.pm +++ b/usr.bin/pkg-config/OpenBSD/PkgConfig.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PkgConfig.pm,v 1.5 2014/03/31 18:16:24 jasper Exp $ +# $OpenBSD: PkgConfig.pm,v 1.6 2015/10/26 18:08:44 jasper Exp $ # # Copyright (c) 2006 Marc Espie <espie@openbsd.org> # @@ -108,7 +108,7 @@ sub read_fh s/(?<!\\)\#.*//; if (m/^([\w.]*)\s*\=\s*(.*)$/) { $cfg->add_variable($1, $2); - } elsif (m/^([\w.]*)\:\s+(.*)$/) { + } elsif (m/^([\w.]*)\:\s*(.*)$/) { $cfg->add_property($1, $2); } elsif (m/^([\w.]*)\:\s*$/) { $cfg->add_property($1); |