From e8b3b5447ccd38768d07a107e468d229348faa2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Tue, 21 Nov 2017 22:00:55 +0000 Subject: vars/glib{,_host}.vars: force -l{ffi,pcre,z} into pkg-config(1) files. subr/pkg_install_pkgconfig.subr: explicitly pass -i"" to sed(1). --- subr/pkg_install_pkgconfig.subr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'subr') diff --git a/subr/pkg_install_pkgconfig.subr b/subr/pkg_install_pkgconfig.subr index 43c0d601..432c1d6e 100644 --- a/subr/pkg_install_pkgconfig.subr +++ b/subr/pkg_install_pkgconfig.subr @@ -6,7 +6,7 @@ pkg_install_pkgconfig() { local _pc_path; for _pc_path in $(find "${PKG_DESTDIR}" -name \*.pc); do if grep -Eq '^libdir=[^$]+$' "${_pc_path}"; then - sed -i -e '/^libdir=[^$]\+$/s/^libdir=\(.\+\)$/libdir=${exec_prefix}\1/' \ + sed -i"" -e '/^libdir=[^$]\+$/s/^libdir=\(.\+\)$/libdir=${exec_prefix}\1/' \ -e '/^exec_prefix=$/s/^.*$/exec_prefix=${prefix}/' \ "${_pc_path}"; fi; -- cgit v1.2.3