summaryrefslogtreecommitdiffhomepage
path: root/subr/pkg_configure.subr
AgeCommit message (Collapse)AuthorFilesLines
2021-05-12Implements CMake support.Lucio Andrés Illanes Albornoz1-6/+154
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-05-06patches/texinfo{,_host}-6.7.local.patch: added.Lucio Andrés Illanes Albornoz1-3/+10
midipix.env:${DEFAULT_{CROSS,HOST,NATIVE}_MAKE}: default to make. subr/pkg_{build,install}.subr: honour ${PKG_MAKE}. subr/pkg_build.subr: export "make LIBTOOL=${PKG_LIBTOOL}" during ${PKG_MAKE} if non-zero and not "none". subr/pkg_configure.subr: export "make LIBTOOL=${PKG_LIBTOOL}" during ${PKG_CONFIGURE} if non-zero and not "none". subr/pkg_install_make.subr: export "make LIBTOOL=${PKG_LIBTOOL}" during ${PKG_MAKE} if non-zero and not "none".
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-9/+16
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-01General cleanup, pt. III.Lucio Andrés Illanes Albornoz1-1/+1
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-2/+2
2020-02-25General cleanup, pt. I.Lucio Andrés Illanes Albornoz1-13/+6
2020-02-08subr/pkg_{build,configure}.subr: {pass,export} ${PKG_CONFIG{,_PATH}}.Lucio Andrés Illanes Albornoz1-6/+3
vars/build.vars:{rpm,dbus{,_glib}}_host:${PKG_ENV_VARS_EXTRA}: remove obsolete ${PKG_CONFIG_PATH} export. vars/env.vars:${DEFAULT_BUILD_VARS}: remove ${PKG_CONFIG_LIBDIR,PKGCONFIG}. vars/midipix.vars: provide ${DEFAULT_HOST_PKG_CONFIG{,_PATH}}, fix typo in ${DEFAULT_NATIVE_PKG_CONFIG_PATH}.
2017-12-06vars/build.vars:host_packages_deps: adds python3_host v3.5.1 & ${PKG_PYTHON}.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+4
vars/env.vars, subr/pkg_configure.subr: process ${PKG_PYTHON}. vars/python3_host.vars: create ${PREFIX}/bin/python ${LD_LIBRARY_PATH} wrapper.
2017-12-03Separate front end (build.sh, subr/build_*) from dispatcher.Lucio Andrés Illanes Albornoz (arab, vxp)1-5/+13
2017-11-20subr/pkg_{autoconf,configure,patch}.subr: reference ${PKG_BASE_DIR} instead ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+2
of ${WORKDIR}. subr/pkg_build_dir.subr: {build,install} packages nested within ${PKG_BUILD_DIR}/. subr/pkg_distclean.subr: removed from repository. subr/pkg_{extract,fetch}.subr: {extract,fetch} within ${PKG_BASE_DIR}. subr/pkg_install.subr: install to ../destdir to facilitate post-installation processing. subr/pkg_setup_env.subr: set & create ${PKG_BASE_DIR}. subr/pre_subdirs.subr: always create ${PREFIX}/bin. vars/build.vars: consistently use ${PKG_{PREFIX,MAKE_INSTALL_VNAME,MAKEFLAGS_INSTALL}}. vars/env.vars, *: cleanup.
2017-02-13patches/qpdf-6.0.0.local.patch, vars/build.vars: adds qpdf v6.0.0.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+1
subr/pkg_configure.subr: explictly pass ${CPPFLAGS}. subr/pkg_setup_env.subr: explicitly set ${LIBTOOL} if ${PKG_SLIBTOOL} is st.
2017-02-11vars/build.vars, patches/*: adds geoip (HEAD) and OpenLiteSpeed v1.4.24 ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
(preliminary commit.) subr/pkg_autoconf.subr: try either of ${WORKDIR}/${PKG_SUBDIR}/{bootstrap,autogen.sh}. subr/pkg_configure.subr: pass ${CXXFLAGS} as well as ${CFLAGS} during ./configure. subr/pkg_setup_env.subr: fix ${PKG_SUBDIR} inference when ${PKG_FNAME} does not end w/ .tar*.
2017-02-06build.sh, {subr,vars}/*: general cleanup.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+2
2017-02-06build.sh, {subr,vars}/*: general cleanup.Lucio Andrés Illanes Albornoz (arab, vxp)1-4/+10
2017-02-06build.sh, {subr,vars}/*: general cleanup.Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+0
2017-02-05build.sh, {subr,vars}/*: general cleanup.Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+1
2017-02-03build.sh, etc/build.usage, {subr,vars}/*: general cleanup.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2017-01-30build.sh: 2nd refactoring pt. I.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+19
build/{gcc,musl}.*.build: refactored into vars/{gcc,musl}.*.build. build/pkg.build: merged w/ build.sh (structurally) and refactored into subr/pkg_*.subr (implementations.) patches/gcc_native_x86_64_w64_mingw32.local.patch: fix wrong filename. subr/build.subr: merges source_scripts() into build.sh. subr/pkg.subr: accept either of ${PKG_..._{URL,VERSION}} when checking for missing entries in var/build.vars. vars/build.vars: adds vars for {gcc,musl}_*. vars/psxstub.vars: convert to pkg_..._all(); call pkg_fetch().