summaryrefslogtreecommitdiffhomepage
path: root/subr/pkg_configure_autotools.subr
AgeCommit message (Collapse)AuthorFilesLines
2021-05-12Implements CMake support.Lucio Andrés Illanes Albornoz1-1/+6
etc/README.md: updated. groups/{000.host_tools,010.host_deps,200.native_packages,800.minipix}.group:${*_SOFORT_NATIVE_{C,CXX,LD}FLAGS}: merged into midipix.env. groups/010.host_deps.group:{clang,cmake_host,libzip,llvm}_host:${PKG_CMAKE_ARGS_EXTRA}: added. groups/010.host_deps.group:cmake_host:${PKG_CONFIGURE_TYPE}: configure w/ cmake. groups/010.host_deps.group:cmake_host:${PKG_INSTALL_FILES}: added. groups/010.host_deps.group:expat_host:${PKG_CONFIGURE_TYPE}: configure w/ autotools. groups/010.host_deps.group:python[23]_host:${PKG_{ENV_VARS_EXTRA,SOFORT_FORCE}}: removed. groups/010.host_deps.group:python[23]_host:${PKG_CONFIGURE_TYPE}: configure w/ sofort. groups/010.host_deps.group:python[23]_host:${PKG_SOFORT_NATIVE_CC}: removed. groups/221.native_packages_dev.group:python[23]:${PKG_SOFORT_FORCE}: removed. groups/221.native_packages_dev.group:python[23]:${PKG_CONFIGURE_TYPE}: configure w/ sofort. groups/231.native_packages_etc.group:{cmake,minizip,openjpeg,tdnf,xpdf}:${PKG_CMAKE_ARGS_EXTRA}: added. groups/231.native_packages_etc.group:cmake:${PKG_CONFIGURE_ARGS}: removed. groups/231.native_packages_etc.group:utf8proc:${PKG_IN_TREE}: don't build in-tree. groups/251.native_packages_lib.group:lib{jpeg_turbo,solv,ssh,zip}:${PKG_CMAKE_ARGS_EXTRA}: added. midipix.env:${DEFAULT_BUILD_VARS}: adds ${PKG_{CMAKE{,_{ARGS{,_EXTRA},LISTFILE}},CONFIGURE_TYPE},SOFORT_NATIVE_{C{C,XX},{C,CXX,LD}FLAGS,LD}}. midipix.env:${DEFAULT_BUILD_VARS}: removes ${PKG_SOFORT_FORCE}. midipix.env:${DEFAULT_{CMAKE_LISTFILE,{CROSS,HOST,NATIVE}_CMAKE}}: added. subr.rtl/rtl_complex.subr:rtl_export_vars(): ignore values during -u. subr.rtl/rtl_platform.subr:rtl_set_vars(): updated. subr/ex_pkg_env.subr:exp_pkg_env_set(): always convert ${PKG_{AR,CC,CXX,PKG_CONFIG,RANLIB}} to absolute pathnames. subr/ex_pkg_env.subr:ex_pkg_env_sofort(): merged into subr/pkg_configure.subr. subr/ex_pkg_restart.subr:ex_pkg_process_restart_spec(): remove extraneous echo. subr/pkg_configure.subr:pkgp_configure_{cmake,sofort}(): initial implementation. subr/pkg_configure.subr:pkg_configure(): attempt configuration using autotools, sofort, or cmake. subr/pkg_configure_autotools.subr: skip if ${PKG_CONFIGURE_TYPE} is set and not "autotools". subr/pkg_fetch_clean.subr: fix typo. vars/{clang_host,cmake{,_host},lib{jpeg_turbo,solv,ssh,zip{,_host}},llvm_host,lolcode,minizip,openjpeg,tdnf,xpdf}.vars: deleted.
2021-04-11Integrate w/ sofort's ${NATIVE_{C,CXX,LD}FLAGS}.Lucio Andrés Illanes Albornoz1-0/+1
groups/{000.host_tools,010.host_deps,200.native_packages}.group:${*_SOFORT_NATIVE_C{,XX}FLAGS}: build w/ -I${PREFIX}/include. groups/010.host_deps.group:python[23]_host:${PKG_ENV_VARS_EXTRA}: updated. groups/010.host_deps.group:python[23]_host:${PKG_SOFORT_FORCE}: force calling ex_pkg_env_sofort(). groups/010.host_deps.group:python3_host:${PKG_SOFORT_NATIVE_CC}: build w/ ${DEFAULT_HOST_CC} (via midipix.) groups/221.native_packages_dev.group:python[23]:${PKG_SOFORT_FORCE}: force calling ex_pkg_env_sofort(). groups/221.native_packages_dev.group:${PKG_{ENV_VARS_EXTRA,SOFORT_NATIVE_CFLAGS_EXTRA}}: updated. midipix.env:${DEFAULT_BUILD_VARS}: adds SOFORT_NATIVE_{{CC,CXX,LD},{C,CXX,LD}FLAGS{,_EXTRA}}. patches/python3_host-3.6.3.local.patch: removes obsolete patch. subr/ex_pkg_env.subr:ex_pkg_env_sofort(): initial implementation. subr/ex_pkg_env.subr:ex_pkg_env(): call ex_pkg_env_sofort() initially. subr/pkg_configure_autotools.subr: call ex_pkg_env_sofort().
2020-04-10Pass pkg-config(1) search path via ${PKG_CONFIG_LIBDIR}.Lucio Andrés Illanes Albornoz1-2/+2
2020-03-15Set -o nounset in addition to +o errexit -o nounset.Lucio Andrés Illanes Albornoz1-7/+8
groups/000.host_tools.group:libtool_host:${PKG_LIBTOOL}: build w/ `none'. subr/build_init.subr:buildp_init_getopts(): set ${DEFAULT_BUILD_CPUS} prior to ex_pkg_load_vars() call. subr/pkg_{build,install_make}.subr: only pass `LIBTOOL=${PKG_LIBTOOL}' if set and not `none'. vars/libtool_host.vars: removes obsolete vars file.
2020-03-15General cleanup.Lucio Andrés Illanes Albornoz1-1/+1
2020-03-01General cleanup, pt. III.Lucio Andrés Illanes Albornoz1-9/+27
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.
2020-02-26General cleanup, pt. II.Lucio Andrés Illanes Albornoz1-9/+9
2020-02-25General cleanup, pt. I.Lucio Andrés Illanes Albornoz1-46/+34
2020-02-09patches/{libcaca,toilet}_pre.local.patch: use $PKG_CONFIG vs. pkg-config.Lucio Andrés Illanes Albornoz1-0/+7
subr/pkg_configure_autotools.subr: export ${PKG_CONFIG{,_PATH}}.
2019-08-06vars/build.vars:{native_{packages{,_deps{,_x11}}},dev_packages,minipix}:${PK ↵Lucio Andrés Illanes Albornoz1-0/+4
G_CONFIG_CACHE_LOCAL}: set from ${CONFIG_CACHE_GNULIB} (via midipix.) vars/build.vars:${CONFIG_CACHE_GNULIB}, vars/gnulib.vars: merged. vars/env.vars:${DEFAULT_BUILD_VARS}: adds provisional ${CONFIG_CACHE_LOCAL} variable. subr/pkg_configure_autotools.subr: append ${PKG_CONFIG_CACHE_LOCAL} (provisional) to config.cache if non-empty prior to appending ${PKG_CONFIG_CACHE_EXTRA} if non-empty.
2019-01-19subr/pkg_configure_autotools.subr:pkg_configure_autotools(): invoke scripts ↵Lucio Andrés Illanes Albornoz1-1/+1
w/ /bin/sh. vars/midipix.vars:${DEFAULT_{LOG_ENV_VARS,CLEAR_ENV_VARS_EXCEPT}}: removes SHELL.
2018-04-30Correctly (zero-)initialise all locals.Lucio Andrés Illanes Albornoz1-1/+1
2017-12-03Separate front end (build.sh, subr/build_*) from dispatcher.Lucio Andrés Illanes Albornoz (arab, vxp)1-4/+4
2017-12-02vars/vim.vars: copy config.cache into src/auto/.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+4
subr/pkg_configure_autotools.subr: correctly output config.cache.
2017-11-29subr/pkg_configure_autotools.subr: create ${PKG_BUILD_DIR}/config.cache from ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+6
${PKG_CONFIG_CACHE{,_EXTRA}}. etc/config.cache, vars/*.vars: split into vars/*.vars.
2017-11-28etc/config.cache: adds git and pcre <- {lighttpd,smallbasic}.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+1
subr/pkg_configure_autotools.subr: substitute %PREFIX% within installed config.cache.
2017-11-22subr/*: reorganised as {ex{,_{pkg,rtl,setup}},pkg}_*.Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+3
2017-11-21Refactors build steps along the sequence {setup,fetch,configure,build,install}.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+45
subr/mode_check_updates.subr: seperated into check_updates.sh. subr/post_{copy_etc,sha256sums,tarballs}.subr: absorbed into `dist' target.