summaryrefslogtreecommitdiffhomepage
path: root/vars/apr.vars
diff options
context:
space:
mode:
Diffstat (limited to 'vars/apr.vars')
-rw-r--r--vars/apr.vars4
1 files changed, 2 insertions, 2 deletions
diff --git a/vars/apr.vars b/vars/apr.vars
index 7bd67578..1d32d376 100644
--- a/vars/apr.vars
+++ b/vars/apr.vars
@@ -11,8 +11,8 @@ apr_cv_process_shared_works=no
apr_cv_tcp_nodelay_with_cork=no"};
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,' \
+ sed -e 's,echo "\$APR_BUILD_DIR/libtool",echo '"${PKG_DESTDIR}"'/bin/slibtool,' \
+ -e 's,echo "\${installbuilddir}/libtool",echo '"${PKG_DESTDIR}"'/bin/slibtool,' \
-e 's,flags="\$flags -I\$includedir \$EXTRA_INCLUDES",flags="-I'"${PKG_PREFIX}"'/include/apr-1",' \
"${PKG_DESTDIR}/bin/apr-1-config" > "${PKG_DESTDIR}/bin/${PKG_TARGET}-apr-1-config";
chmod +x "${PKG_DESTDIR}/bin/${PKG_TARGET}-apr-1-config";