sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (40589c0084e0095c6c1712c2b914088efeb82b3a)
- From: Vlad Glagolev <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (40589c0084e0095c6c1712c2b914088efeb82b3a)
- Date: Fri, 22 Jul 2022 23:27:15 +0000
GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:
devel/samurai/BUILD | 2 +-
devel/samurai/HISTORY | 4 ++++
devel/samurai/PRE_BUILD | 8 ++++++++
3 files changed, 13 insertions(+), 1 deletion(-)
New commits:
commit 40589c0084e0095c6c1712c2b914088efeb82b3a
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
samurai: fix build with older gccs
diff --git a/devel/samurai/BUILD b/devel/samurai/BUILD
index c1c9fe5..5bf4112 100755
--- a/devel/samurai/BUILD
+++ b/devel/samurai/BUILD
@@ -1 +1 @@
-${MAKE:-make} CC="$CC"
+${MAKE:-make} CC="${CC:-cc}"
diff --git a/devel/samurai/HISTORY b/devel/samurai/HISTORY
index 53c2372..faf496d 100644
--- a/devel/samurai/HISTORY
+++ b/devel/samurai/HISTORY
@@ -1,3 +1,7 @@
+2022-07-22 Vlad Glagolev <stealth AT sourcemage.org>
+ * BUILD: fallback to cc
+ * PRE_BUILD: added
+
2022-03-15 Ismael Luceno <ismael AT sourcemage.org>
* BUILD: overriden CC
added choice of MAKE
diff --git a/devel/samurai/PRE_BUILD b/devel/samurai/PRE_BUILD
new file mode 100755
index 0000000..f877281
--- /dev/null
+++ b/devel/samurai/PRE_BUILD
@@ -0,0 +1,8 @@
+. "$GRIMOIRE/FUNCTIONS" &&
+
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+if spell_ok gcc && is_version_less $(installed_version gcc) 4.7; then
+ sedit "s:-Wpedantic::" Makefile
+fi
- [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (40589c0084e0095c6c1712c2b914088efeb82b3a), Vlad Glagolev, 07/22/2022
Archive powered by MHonArc 2.6.24.