diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-02-07 16:34:58 +0100 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-02-07 16:34:58 +0100 |
commit | 96b3097e548d741fe34bc2b54b5f59c725c06cec (patch) | |
tree | b52ebabf5dfdd62c0c4b1e88bed4b3f3566de179 /101.gmp.build | |
parent | 680d83f768298ed0fcabd553f5d48ee8facf203b (diff) | |
download | midipix_build-96b3097e548d741fe34bc2b54b5f59c725c06cec.tar.bz2 midipix_build-96b3097e548d741fe34bc2b54b5f59c725c06cec.tar.xz |
- Ensure global variable names are consistently capitalised and that
no values are inherited when and wherever they should not be.
- Remove pointless CFLAGS export in 007.gcc.full.build when doing a
runtime or full build.
Diffstat (limited to '101.gmp.build')
-rw-r--r-- | 101.gmp.build | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/101.gmp.build b/101.gmp.build index 91559e99..c0d0fca4 100644 --- a/101.gmp.build +++ b/101.gmp.build @@ -2,32 +2,32 @@ parse_with_pkg_name ${2} gmp mpfr mpc libelf binutils; if is_build_script_done finished; then exit 212; else - fetch ${_pkg_url} ${_pkg_sha256sum}; - set_build_dir ${_pkg_subdir} native; + fetch ${PKG_URL} ${PKG_SHA256SUM}; + set_build_dir ${PKG_SUBDIR} native; fi; if ! is_build_script_done extracted; then - rm_if_exists ${_pkg_subdir}; - tar -axf ${_pkg_fname}; + rm_if_exists ${PKG_SUBDIR}; + tar -axf ${PKG_FNAME}; set_build_script_done extracted -patched; fi; if ! is_build_script_done patched; then - patch -d ${_pkg_subdir} -p1 \ - < portage/${_pkg_subdir}.midipix.patch; - if [ ${_pkg_no_libtool_midipix:-0} -eq 0 ]; then - cp portage/libtool.midipix ${_pkg_subdir}/; + patch -d ${PKG_SUBDIR} -p1 \ + < portage/${PKG_SUBDIR}.midipix.patch; + if [ ${PKG_NO_LIBTOOL_MIDIPIX:-0} -eq 0 ]; then + cp portage/libtool.midipix ${PKG_SUBDIR}/; fi; set_build_script_done patched -configured; fi; if ! is_build_script_done configured; then - rm_if_exists -m -c ${_build_dir}; - ../${_pkg_subdir}/configure \ - ${_pkg_configure_extra_args} \ + rm_if_exists -m -c ${BUILD_DIR}; + ../${PKG_SUBDIR}/configure \ + ${PKG_CONFIGURE_EXTRA_ARGS} \ --host=${HOST_NATIVE} \ - --prefix=${_pkg_prefix:-/} \ + --prefix=${PKG_PREFIX:-/} \ --target=${TARGET}; set_build_script_done configured -built; else - cd ${_build_dir}; + cd ${BUILD_DIR}; fi; if ! is_build_script_done built; then make; @@ -37,12 +37,12 @@ if ! is_build_script_done installed1; then make DESTDIR=${PREFIX_NATIVE} install; set_build_script_done configured installed1 -installed2 -finished; fi; -if [ -n "${_pkg_prefix_extra}" ]; then +if [ -n "${PKG_PREFIX_EXTRA}" ]; then if ! is_build_script_done installed2; then - make DESTDIR=${_pkg_prefix_extra} install; + make DESTDIR=${PKG_PREFIX_EXTRA} install; set_build_script_done configured installed2 -finished; fi; -elif [ "x${_pkg_name}" = "xlibelf" ]; then +elif [ "x${PKG_NAME}" = "xlibelf" ]; then if ! is_build_script_done installed2; then rm -f lib/libelf.def; echo EXPORTS > lib/libelf.def; |