New commits:
commit 985395ae64b3e8c7938abf6534f7180ee1bf5039
Author: Justin Boffemmyer <flux AT sourcemage.org>
Commit: Justin Boffemmyer <flux AT sourcemage.org>
editors/vim: missing opt. depends, fix patching
There were missing optional dependencies for both Lua and Python3 to be
used as script interpreters.
The initialization of the for loop in PRE_BUILD for processing the patch
files will print bare numbers if the shell doesn't support it (bash
version <4.0, or perhaps if other shells are used), so 1-99 would fail
to match any real filenames. This was corrected by using seq -w
(available in coreutils so everyone has it regardless of shell version),
which pads numbers to the same width using leading 0's.
optional_depends RUBY \
"--enable-rubyinterp" \
diff --git a/editors/vim/HISTORY b/editors/vim/HISTORY
index 3e3f432..239735e 100644
--- a/editors/vim/HISTORY
+++ b/editors/vim/HISTORY
@@ -1,3 +1,8 @@
+2011-04-04 Justin Boffemmyer <flux AT sourcemage.org>
+ * PRE_BUILD: correct patch loop logic so it prints 0-padded numbers
and
+ can find the patch files
+ * DEPENDS: add mising optional depends for Lua and Python3
interpreters
+
2011-01-27 Ladislav Hagara <hgr AT vabo.cz>
* patches/*: stale patches removed
* vim-patches-tarball: script added
diff --git a/editors/vim/PRE_BUILD b/editors/vim/PRE_BUILD
index 1d64fc0..17e16df 100755
--- a/editors/vim/PRE_BUILD
+++ b/editors/vim/PRE_BUILD
@@ -2,8 +2,7 @@ default_pre_build &&
cd ${SOURCE_DIRECTORY} &&
unpack_file 2 &&
-PATCHES=$(eval echo {001..107}) &&
-for i in $PATCHES; do
+for i in $(seq -w 1 107); do
message "${MESSAGE_COLOR}applying patch 7.3.$i ...${DEFAULT_COLOR}" &&
patch -p0 < patches/7.3.$i
done
[SM-Commit] GIT changes to master grimoire by Justin Boffemmyer (985395ae64b3e8c7938abf6534f7180ee1bf5039),
Justin Boffemmyer, 04/03/2011