From 5b02e1597a0c3aa9c6c6d385acea34de6e37fadf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Fri, 3 Feb 2017 02:35:33 +0000 Subject: vars/build.vars, patches/httpd-2.4.25.local.patch: preliminarily adds httpd v2.4.25 (via Redfoxmoon) (not built by default.) build.sh, subr/{pkg_{build_dir,distclean,setup},rtl}.subr: adds `distclean' build step between setup and configure. vars/apr{,_util}.vars: provide ${PREFIX}/bin/${PKG_TARGET}-ap[ru]-1-config to facilitate building Apache. --- subr/pkg_distclean.subr | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 subr/pkg_distclean.subr (limited to 'subr/pkg_distclean.subr') diff --git a/subr/pkg_distclean.subr b/subr/pkg_distclean.subr new file mode 100644 index 00000000..aae22162 --- /dev/null +++ b/subr/pkg_distclean.subr @@ -0,0 +1,14 @@ +# +# . ./build.vars and set -o errexit -o noglob are assumed. +# See warning at the top of build.vars. +# + +pkg_distclean() { + if [ "${PKG_SUBDIR}" != "${PKG_BUILD_DIR}" ]; then + secure_rm ${PKG_BUILD_DIR}; + insecure_mkdir ${PKG_BUILD_DIR}; + fi; + set_build_script_done distclean -configure; +}; + +# vim:filetype=sh -- cgit v1.2.3