diff options
Diffstat (limited to 'vars/pkgconf_host.vars')
-rw-r--r-- | vars/pkgconf_host.vars | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/vars/pkgconf_host.vars b/vars/pkgconf_host.vars index 7262697f..ffc13acb 100644 --- a/vars/pkgconf_host.vars +++ b/vars/pkgconf_host.vars @@ -3,25 +3,25 @@ # pkg_pkgconf_host_install_make_post() { - if [ -e "${PREFIX}/bin/${TARGET}-pkg-config" ]; then - ex_build_fileop rm "${PREFIX}/bin/${TARGET}-pkg-config"; + if [ -e "${PREFIX}/bin/${PKG_TARGET}-pkg-config" ]; then + ex_rtl_fileop rm "${PREFIX}/bin/${PKG_TARGET}-pkg-config"; fi; - cat > "${PREFIX}/bin/${TARGET}-pkg-config" <<EOF + cat > "${PREFIX}/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/${TARGET}-pkg-config"; - ex_build_fileop rm "${PREFIX}/bin/pkg-config"; + chmod +x "${PREFIX}/bin/${PKG_TARGET}-pkg-config"; + ex_rtl_fileop rm "${PREFIX}/bin/pkg-config"; }; pkg_pkgconf_install_make_post() { if [ -e "${PREFIX_NATIVE}/bin/pkg-config" ]; then - ex_build_fileop rm "${PREFIX_NATIVE}/bin/pkg-config"; + ex_rtl_fileop rm "${PREFIX_NATIVE}/bin/pkg-config"; fi; - ex_build_fileop ln_symbolic pkgconf "${PREFIX_NATIVE}/bin/pkg-config"; + ex_rtl_fileop ln_symbolic pkgconf "${PREFIX_NATIVE}/bin/pkg-config"; }; # vim:filetype=sh |