Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Eric Sandall (41a8e90a7ce69cbd0a068ef8fd4621502519e63f)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Eric Sandall <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Eric Sandall (41a8e90a7ce69cbd0a068ef8fd4621502519e63f)
  • Date: Fri, 23 May 2008 21:30:37 -0500

GIT changes to master grimoire by Eric Sandall <sandalle AT sourcemage.org>:

science/calc/HISTORY | 3 +++
science/calc/PRE_BUILD | 10 ++++++++++
2 files changed, 13 insertions(+)

New commits:
commit 41a8e90a7ce69cbd0a068ef8fd4621502519e63f
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

calc: Actually enable readline support if wanted

commit 185070415f403a55c125055a012c9156a694abd2
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

calc: Disable debug flag and use our custom CFLAGS and LDFLAGS

diff --git a/science/calc/HISTORY b/science/calc/HISTORY
index 9ec2e68..ea75ed1 100644
--- a/science/calc/HISTORY
+++ b/science/calc/HISTORY
@@ -1,5 +1,8 @@
2008-05-23 Eric Sandall <sandalle AT sourcemage.org>
* DETAILS: Updated to 2.12.3.3
+ * PRE_BUILD: Disable debug code and hardcoding compiler flags
+ Pass our custom CFLAGS/LDFLAGS
+ Actually enable readline support if wanted

2007-11-15 Remko van der Vossen <wich AT sourcemage.org>
* DETAILS: 2.12.2.2
diff --git a/science/calc/PRE_BUILD b/science/calc/PRE_BUILD
new file mode 100755
index 0000000..9d044a6
--- /dev/null
+++ b/science/calc/PRE_BUILD
@@ -0,0 +1,10 @@
+default_pre_build &&
+sedit 's:^DEBUG:#&:' $SOURCE_DIRECTORY/Makefile &&
+sedit "s:EXTRA_CFLAGS=:&${CFLAGS}:" $SOURCE_DIRECTORY/Makefile &&
+sedit "s:EXTRA_LDFLAGS=:&${LDFLAGS}:" $SOURCE_DIRECTORY/Makefile &&
+
+if is_depends_enabled $SPELL readline; then
+ sedit 's:^USE_READLINE=:&-DUSE_READLINE:' $SOURCE_DIRECTORY/Makefile &&
+ sedit 's:^READLINE_LIB=:&-lreadline:' $SOURCE_DIRECTORY/Makefile &&
+ sedit 's:^READLINE_EXTRAS=:&-lhistory -lncurses:'
$SOURCE_DIRECTORY/Makefile
+fi



  • [SM-Commit] GIT changes to master grimoire by Eric Sandall (41a8e90a7ce69cbd0a068ef8fd4621502519e63f), Eric Sandall, 05/23/2008

Archive powered by MHonArc 2.6.24.

Top of Page