sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Ismael Luceno (3fed2019dfa20df96c2c96361e4832f3308583e3)
- From: Ismael Luceno <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (3fed2019dfa20df96c2c96361e4832f3308583e3)
- Date: Mon, 5 Jan 2015 06:57:56 -0600
GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:
devel/mawk/HISTORY | 3 +++
devel/mawk/PRE_BUILD | 5 ++++-
2 files changed, 7 insertions(+), 1 deletion(-)
New commits:
commit 3fed2019dfa20df96c2c96361e4832f3308583e3
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
mawk: Check for the patches directory existence
diff --git a/devel/mawk/HISTORY b/devel/mawk/HISTORY
index 9bb0725b..3ac9d16 100644
--- a/devel/mawk/HISTORY
+++ b/devel/mawk/HISTORY
@@ -1,3 +1,6 @@
+2015-01-05 Ismael Luceno <ismael AT sourcemage.org>
+ * PRE_BUILD: Check for patches directory existence
+
2014-12-14 Ismael Luceno <ismael AT sourcemage.org>
* DETAILS: updated spell to 1.3.4-20141206
* patches/nextfile-fix.patch: Removed, applied by upstream
diff --git a/devel/mawk/PRE_BUILD b/devel/mawk/PRE_BUILD
index 1fec4be..f9d7f22 100755
--- a/devel/mawk/PRE_BUILD
+++ b/devel/mawk/PRE_BUILD
@@ -1,3 +1,6 @@
default_pre_build &&
cd "$SOURCE_DIRECTORY" &&
-find "$SPELL_DIRECTORY/patches" -name '*.patch' -exec patch -p1 -i '{}' \;
+if [ -d "$SPELL_DIRECTORY/patches" ]; then
+ find "$SPELL_DIRECTORY/patches" \( -name \*.patch -o -name \*.diff \) \
+ -exec patch -fp1 -i '{}' \;
+fi
- [SM-Commit] GIT changes to master grimoire by Ismael Luceno (3fed2019dfa20df96c2c96361e4832f3308583e3), Ismael Luceno, 01/05/2015
Archive powered by MHonArc 2.6.24.