diff options
author | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2020-02-09 12:41:13 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2020-02-09 12:41:13 +0000 |
commit | 189bfb63ae7a4f8a33f88c678071d16c5a4e3fde (patch) | |
tree | c62c3b56167ef27452df55451b60152b2f9043a2 /vars | |
parent | 2bc84a207d3135ac8a0c9617ae36fd0fa3f7634a (diff) | |
download | midipix_build-189bfb63ae7a4f8a33f88c678071d16c5a4e3fde.tar.bz2 midipix_build-189bfb63ae7a4f8a33f88c678071d16c5a4e3fde.tar.xz |
vars/build.vars:host_tools: adds autoconf_host v2.69.
vars/build.vars:host_tools: adds automake_host v1.16.1.
vars/build.vars:host_tools: adds libtool_host v2.4.6.
vars/libtool_host.vars: don't pass LIBTOOL=${...}.
Diffstat (limited to 'vars')
-rw-r--r-- | vars/build.vars | 18 | ||||
-rw-r--r-- | vars/libtool_host.vars | 26 |
2 files changed, 43 insertions, 1 deletions
diff --git a/vars/build.vars b/vars/build.vars index 9256a978..96c5a887 100644 --- a/vars/build.vars +++ b/vars/build.vars @@ -149,7 +149,8 @@ gl_cv_C_locale_sans_EILSEQ=yes"}; # HOST_TOOLS_BUILD_TYPE="host"; HOST_TOOLS_CONFIGURE_ARGS="--disable-nls --prefix= --target=${DEFAULT_TARGET}"; -HOST_TOOLS_PACKAGES="slibtool_host mdso_host perk_host pkgconf_host"; +HOST_TOOLS_PACKAGES=" +slibtool_host mdso_host perk_host pkgconf_host autoconf_host automake_host libtool_host"; HOST_TOOLS_PREFIX="${PREFIX}"; : ${PKG_SLIBTOOL_HOST_URLS_GIT:="slibtool=${DEFAULT_GITROOT}/slibtool"}; : ${PKG_SLIBTOOL_HOST_CONFIGURE_ARGS:=--prefix=}; @@ -165,6 +166,21 @@ HOST_TOOLS_PREFIX="${PREFIX}"; : ${PKG_PKGCONF_HOST_URL:=https://distfiles.dereferenced.org/pkgconf/pkgconf-${PKG_PKGCONF_HOST_VERSION}.tar.xz}; : ${PKG_PKGCONF_HOST_CONFIGURE_ARGS:="--prefix=${PREFIX} --with-system-libdir=${PREFIX_NATIVE}/lib --with-system-includedir=${PREFIX_NATIVE}/include --with-pkg-config-dir=${PREFIX_NATIVE}/lib/pkgconfig --with-personality-dir=${PREFIX_NATIVE}/share/pkgconfig/personality.d"}; : ${PKG_PKGCONF_HOST_MAKEFLAGS_INSTALL_EXTRA:=prefix=}; +: ${PKG_AUTOCONF_HOST_SHA256SUM:=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684}; +: ${PKG_AUTOCONF_HOST_VERSION:=2.69}; +: ${PKG_AUTOCONF_HOST_URL:=https://ftp.gnu.org/gnu/autoconf/autoconf-${PKG_AUTOCONF_HOST_VERSION}.tar.xz}; +: ${PKG_AUTOCONF_HOST_CONFIGURE_ARGS:="-disable-nls --prefix=${PREFIX} --target=${DEFAULT_TARGET}"}; +: ${PKG_AUTOCONF_HOST_MAKEFLAGS_INSTALL:="PREFIX= prefix="}; +: ${PKG_AUTOMAKE_HOST_SHA256SUM:=5d05bb38a23fd3312b10aea93840feec685bdf4a41146e78882848165d3ae921}; +: ${PKG_AUTOMAKE_HOST_VERSION:=1.16.1}; +: ${PKG_AUTOMAKE_HOST_URL:=https://ftp.gnu.org/gnu/automake/automake-${PKG_AUTOMAKE_HOST_VERSION}.tar.xz}; +: ${PKG_AUTOMAKE_HOST_CONFIGURE_ARGS:="-disable-nls --prefix=${PREFIX} --target=${DEFAULT_TARGET}"}; +: ${PKG_AUTOMAKE_HOST_MAKEFLAGS_INSTALL:="PREFIX= prefix="}; +: ${PKG_LIBTOOL_HOST_SHA256SUM:=7c87a8c2c8c0fc9cd5019e402bed4292462d00a718a7cd5f11218153bf28b26f}; +: ${PKG_LIBTOOL_HOST_VERSION:=2.4.6}; +: ${PKG_LIBTOOL_HOST_URL:=https://ftp.gnu.org/gnu/libtool/libtool-${PKG_LIBTOOL_HOST_VERSION}.tar.xz}; +: ${PKG_LIBTOOL_HOST_CONFIGURE_ARGS:="--prefix=${PREFIX}"}; +: ${PKG_LIBTOOL_HOST_MAKEFLAGS_INSTALL:="PREFIX= prefix="}; # # Build target host_deps diff --git a/vars/libtool_host.vars b/vars/libtool_host.vars new file mode 100644 index 00000000..b1383609 --- /dev/null +++ b/vars/libtool_host.vars @@ -0,0 +1,26 @@ +# +# set -o errexit -o noglob are assumed. +# + +pkg_libtool_host_build() { + local _no_autoconf=""; + if [ ! -x "${PKG_CONFIGURE}" ]; then + _no_autoconf=1; + fi; + # N.B. We only specify CC= here if the current package does not use GNU + # autoconf as it often abuses it by appending -std={gnu99,...} to it + # instead of amending CFLAGS. + ex_rtl_run_cmd_unsplit make \ + ${PKG_MAKEFLAGS_BUILD} \ + ${PKG_MAKEFLAGS_BUILD_EXTRA} \ + "AR=${PKG_AR}" "${_no_autoconf:+CC=${PKG_CC}}" \ + "RANLIB=${PKG_RANLIB}" \ + "${PKG_CFLAGS_BUILD:+CFLAGS=${PKG_CFLAGS_BUILD}}" \ + "${PKG_CFLAGS_BUILD_EXTRA:+CFLAGS+=${PKG_CFLAGS_BUILD_EXTRA}}" \ + "${PKG_LDFLAGS_BUILD:+LDFLAGS=${PKG_LDFLAGS_BUILD}}" \ + "${PKG_LDFLAGS_BUILD_EXTRA:+LDFLAGS+=${PKG_LDFLAGS_BUILD_EXTRA}}"\ + "${PKG_PKG_CONFIG:+PKG_CONFIG=${PKG_PKG_CONFIG}}" \ + "${PKG_PKG_CONFIG_PATH:+PKG_CONFIG_PATH=${PKG_PKG_CONFIG_PATH}}"; +}; + +# vim:filetype=sh |