diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2006-11-30 01:04:36 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2006-11-30 01:04:36 +0000 |
commit | a4d460a0735582c2172d49e423ae4d2ed980a365 (patch) | |
tree | 3c7c5eca257f4dd808fb3dbb5e1eee7429d1a43b /usr.sbin/pkg_add/OpenBSD | |
parent | 8a871d614d0113cd15e02c8880b9331be59afb55 (diff) |
some *.pc files have variable= value, with a space.
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PkgConfig.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgConfig.pm b/usr.sbin/pkg_add/OpenBSD/PkgConfig.pm index 993430b2082..8d2ca8f1214 100644 --- a/usr.sbin/pkg_add/OpenBSD/PkgConfig.pm +++ b/usr.sbin/pkg_add/OpenBSD/PkgConfig.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PkgConfig.pm,v 1.4 2006/11/30 00:07:50 espie Exp $ +# $OpenBSD: PkgConfig.pm,v 1.5 2006/11/30 01:04:35 espie Exp $ # # Copyright (c) 2006 Marc Espie <espie@openbsd.org> # @@ -67,7 +67,7 @@ sub read_fh chomp; next if m/^\s*$/; next if m/^\#/; - if (m/^(.*?)\=(.*)$/) { + if (m/^(.*?)\=\s*(.*)$/) { $cfg->add_variable($1, $2); } elsif (m/^(.*?)\:\s+(.*)$/) { $cfg->add_property($1, $2); |