summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/PkgConfig.pm
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/PkgConfig.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PkgConfig.pm4
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 718f9751b59..f9d412b427c 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.18 2010/12/24 09:04:14 espie Exp $
+# $OpenBSD: PkgConfig.pm,v 1.19 2011/06/21 07:18:35 jasper Exp $
#
# Copyright (c) 2006 Marc Espie <espie@openbsd.org>
#
@@ -73,7 +73,7 @@ sub add_property
if (defined $parse->{$name}) {
$v = $parse->{$name}($value);
} else {
- $v = [split /\s+/o, $value] ;
+ $v = [split /(?<!\\)\s+/o, $value];
}
} else {
$v = [];