From bf3834b8ac2baa2719c1d1c1efa44f2183170464 Mon Sep 17 00:00:00 2001 From: Steven Mestdagh Date: Sat, 17 Nov 2007 18:31:32 +0000 Subject: allow whitespace before = sign when reading variables from a .pc file. "go ahead" espie@, "makes sense" ckuethe@ --- usr.sbin/pkg_add/OpenBSD/PkgConfig.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin') diff --git a/usr.sbin/pkg_add/OpenBSD/PkgConfig.pm b/usr.sbin/pkg_add/OpenBSD/PkgConfig.pm index 1ff9d3f5ddd..47019ef189f 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.10 2007/06/04 14:57:33 espie Exp $ +# $OpenBSD: PkgConfig.pm,v 1.11 2007/11/17 18:31:31 steven Exp $ # # Copyright (c) 2006 Marc Espie # @@ -100,7 +100,7 @@ sub read_fh next if m/^\#/; # zap comments s/(?add_variable($1, $2); } elsif (m/^([\w.]*)\:\s+(.*)$/) { $cfg->add_property($1, $2); -- cgit v1.2.3