summaryrefslogtreecommitdiffhomepage
path: root/vars/psxstub_host.vars
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-03-01 21:09:37 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-03-01 21:09:37 +0000
commitbf9edfaed49c4387e181be454602e0cc65fe4382 (patch)
tree2bf582d4f1f0916946bc2285014b193482c52d86 /vars/psxstub_host.vars
parent725770754d9f53d5b41d876053a7a993b629472e (diff)
downloadmidipix_build-bf9edfaed49c4387e181be454602e0cc65fe4382.tar.bz2
midipix_build-bf9edfaed49c4387e181be454602e0cc65fe4382.tar.xz
General cleanup, pt. III.
dist/dist_digest.dist: removes obsolete dist file. etc/{build.usage,README.md}: updated. groups/000.host_tools.group:{autoconf,automake,gettext_tiny,install_strip,libtool,m4}_host: moved from groups/010.host_deps.group. groups/221.native_packages_dev.group:lua: moved from groups/231.native_packages_etc.group. groups/221.native_packages_dev.group:lua:${PKG_FORCE_AUTORECONF}: set. groups/231.native_packages_etc.group:{mlogin,tdnf}:${PKG_FORCE_AUTORECONF}: set. groups/241.native_packages_inet.group:nullmailer:${PKG_FORCE_AUTORECONF}: set. groups/251.native_packages_lib.group:lib{asr,gpg_error}:${PKG_FORCE_AUTORECONF}: set. midipix.env, etc/README.md, subr/pkg_configure_autotools.subr: adds FORCE_NO_AUTORECONF. subr/rtl_fileop.subr: adds ch{mod,own} fileops. vars/{check_updates,jamvm,lib{asr,gpg_error},lua,mlogin,tdnf}.vars: removes obsolete vars file.
Diffstat (limited to 'vars/psxstub_host.vars')
-rw-r--r--vars/psxstub_host.vars16
1 files changed, 9 insertions, 7 deletions
diff --git a/vars/psxstub_host.vars b/vars/psxstub_host.vars
index 7cef39d5..42282dcc 100644
--- a/vars/psxstub_host.vars
+++ b/vars/psxstub_host.vars
@@ -3,14 +3,16 @@
#
pkg_psxstub_install_make() {
- if [ "${PKG_TARGET}" = i686-nt32-midipix ] \
- || [ "${PKG_TARGET}" = x86_64-nt64-midipix ]; then
- rtl_fileop cd "${PKG_BASE_DIR}/psxstub";
- make ${PKG_MAKEFLAGS_BUILD} "DESTDIR=${PKG_PREFIX}" "TARGET=${PKG_TARGET}" install;
- if [ -e "${PKG_PREFIX}/lib/libpsxscl.a" ]; then
- rtl_fileop rm "${PKG_PREFIX}/lib/libpsxscl.a";
+ if [ "${PKG_TARGET}" = "i686-nt32-midipix" ]\
+ || [ "${PKG_TARGET}" = "x86_64-nt64-midipix" ]; then
+ if ! rtl_fileop cd "${PKG_BASE_DIR}/psxstub"\
+ || ! make ${PKG_MAKEFLAGS_BUILD} "DESTDIR=${PKG_PREFIX}" "TARGET=${PKG_TARGET}" install; then
+ return 1;
+ elif [ -e "${PKG_PREFIX}/lib/libpsxscl.a" ]\
+ && ! rtl_fileop rm "${PKG_PREFIX}/lib/libpsxscl.a"; then
+ return 1;
fi;
fi;
};
-# vim:filetype=sh
+# vim:filetype=sh textwidth=0