summaryrefslogtreecommitdiffhomepage
path: root/vars
diff options
context:
space:
mode:
Diffstat (limited to 'vars')
-rw-r--r--vars/apr.vars4
-rw-r--r--vars/git.vars2
2 files changed, 3 insertions, 3 deletions
diff --git a/vars/apr.vars b/vars/apr.vars
index de302737..5a27d455 100644
--- a/vars/apr.vars
+++ b/vars/apr.vars
@@ -6,8 +6,8 @@ pkg_apr_install_make_post() {
sed -e 's,echo "\$APR_BUILD_DIR/libtool",echo '"${PREFIX}"'/bin/slibtool,' \
-e 's,echo "\${installbuilddir}/libtool",echo '"${PREFIX}"'/bin/slibtool,' \
-e 's,flags="\$flags -I\$includedir \$EXTRA_INCLUDES",flags="-I'"${PKG_PREFIX}"'/include/apr-1",' \
- "${PWD}/../destdir/bin/apr-1-config" > "${PWD}/../destdir/bin/${PKG_TARGET}-apr-1-config";
- chmod +x "${PWD}/../destdir/bin/${PKG_TARGET}-apr-1-config";
+ "${PKG_DESTDIR}/bin/apr-1-config" > "${PKG_DESTDIR}/bin/${PKG_TARGET}-apr-1-config";
+ chmod +x "${PKG_DESTDIR}/bin/${PKG_TARGET}-apr-1-config";
};
# vim:filetype=sh
diff --git a/vars/git.vars b/vars/git.vars
index b89062bd..873d0921 100644
--- a/vars/git.vars
+++ b/vars/git.vars
@@ -4,7 +4,7 @@
pkg_git_install_post() {
local __ _new;
- for __ in $(find "${PWD}/../destdir/share/man" -name "Git*::*" -type f); do
+ for __ in $(find "${PKG_DESTDIR}" -name "Git*::*" -type f); do
_new="$(echo ${__} | sed "s/::/./g")";
build_fileop mv "${__}" "${_new}";
done;