summaryrefslogtreecommitdiffhomepage
path: root/vars/pkgconf_host.vars
diff options
context:
space:
mode:
Diffstat (limited to 'vars/pkgconf_host.vars')
-rw-r--r--vars/pkgconf_host.vars10
1 files changed, 5 insertions, 5 deletions
diff --git a/vars/pkgconf_host.vars b/vars/pkgconf_host.vars
index ffc13acb..386c3c10 100644
--- a/vars/pkgconf_host.vars
+++ b/vars/pkgconf_host.vars
@@ -3,18 +3,18 @@
#
pkg_pkgconf_host_install_make_post() {
- if [ -e "${PREFIX}/bin/${PKG_TARGET}-pkg-config" ]; then
- ex_rtl_fileop rm "${PREFIX}/bin/${PKG_TARGET}-pkg-config";
+ if [ -e "${PKG_DESTDIR}/bin/${PKG_TARGET}-pkg-config" ]; then
+ ex_rtl_fileop rm "${PKG_DESTDIR}/bin/${PKG_TARGET}-pkg-config";
fi;
- cat > "${PREFIX}/bin/${PKG_TARGET}-pkg-config" <<EOF
+ cat > "${PKG_DESTDIR}/bin/${PKG_TARGET}-pkg-config" <<EOF
#!/bin/sh
if [ -z "\${PREFIX_NATIVE}" ]; then
PREFIX_NATIVE="${PREFIX_NATIVE}";
fi;
"\$(dirname "\${0}")"/pkgconf --define-variable=prefix="\${PREFIX_NATIVE%/}/" "\${@}";
EOF
- chmod +x "${PREFIX}/bin/${PKG_TARGET}-pkg-config";
- ex_rtl_fileop rm "${PREFIX}/bin/pkg-config";
+ chmod +x "${PKG_DESTDIR}/bin/${PKG_TARGET}-pkg-config";
+ ex_rtl_fileop rm "${PKG_DESTDIR}/bin/pkg-config";
};
pkg_pkgconf_install_make_post() {