summaryrefslogtreecommitdiffhomepage
path: root/200.coreutils.build
diff options
context:
space:
mode:
Diffstat (limited to '200.coreutils.build')
-rw-r--r--200.coreutils.build15
1 files changed, 12 insertions, 3 deletions
diff --git a/200.coreutils.build b/200.coreutils.build
index cf445fb9..a0c72efb 100644
--- a/200.coreutils.build
+++ b/200.coreutils.build
@@ -1,5 +1,5 @@
-parse_with_pkg_name ${2} \
- coreutils diffutils findutils patch \
+parse_with_pkg_name ${2} \
+ coreutils diffutils findutils patch \
gawk bash make grep sed binutils;
if is_build_script_done finished; then
exit 212;
@@ -22,6 +22,15 @@ if ! is_build_script_done extracted; then
set_build_script_done extracted -patched;
fi;
if ! is_build_script_done patched; then
+ if [ -n "${_pkg_patches_extra}" ]; then
+ (rm_if_exists -m -c ${_pkg_subdir}-patches-extra;
+ wget -c -nd -np -r -R \*.htm\* ${_pkg_patches_extra}
+ for _patch_fname in \
+ $(find . -type f -not -iname \*.sig | sort); do
+ patch -d ../${_pkg_subdir} -p0 \
+ < ${_patch_fname};
+ done); wait;
+ fi;
patch -d ${_pkg_subdir} -p1 \
< portage/${_pkg_subdir}.midipix.patch;
set_build_script_done patched -configured;
@@ -30,7 +39,7 @@ if ! is_build_script_done configured; then
rm_if_exists -m -c ${_build_dir};
[ ${_no_config_cache:-0} -eq 0 ] &&\
cp ../portage/config.cache .;
- ../${_pkg_subdir}/configure \
+ ../${_pkg_subdir}/configure \
${_configure_args} --target=${TARGET};
set_build_script_done configured -built;
else