From a70bc32cd0ab4f8af0c4aae351702fcbbe377f3e 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 19:45:43 +0000 Subject: vars/libfirm.vars: correctly install to & reference ${PKG_DESTDIR}. subr/pkg_install_subdirs.subr: fix ${PKG_DESTDIR} reference. --- subr/pkg_install_subdirs.subr | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'subr') diff --git a/subr/pkg_install_subdirs.subr b/subr/pkg_install_subdirs.subr index c63eda70..9ab301b6 100644 --- a/subr/pkg_install_subdirs.subr +++ b/subr/pkg_install_subdirs.subr @@ -3,15 +3,14 @@ # pkg_install_subdirs() { - pkg_install_files "${PWD}/.." \ - /=destdir \ - /=destdir/bin \ - /=destdir/lib \ - /=destdir/sbin \ - /=destdir/share/man/man1 \ - /=destdir/share/man \ - @.=destdir/usr \ - @share/man=destdir/man; + pkg_install_files "${PKG_DESTDIR}" \ + /=bin \ + /=lib \ + /=sbin \ + /=share/man/man1 \ + /=share/man \ + @.=usr \ + @share/man=man; }; # vim:filetype=sh -- cgit v1.2.3