sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Andraž Levstik (9cb157a6dbd8c271f3fda2fae24d745145bb462e)
- From: Andraž Levstik <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Andraž Levstik (9cb157a6dbd8c271f3fda2fae24d745145bb462e)
- Date: Sat, 2 May 2009 14:19:25 -0500
GIT changes to master grimoire by Andraž Levstik
<ruskie+2054d253 AT codemages.net>:
devel/lemon/DETAILS | 3 +++
devel/lemon/HISTORY | 6 ++++++
devel/lemon/INSTALL | 4 +++-
devel/lemon/PRE_BUILD | 8 +++++++-
devel/lemon/lempar.c.path.fix.patch | 11 +++++++++++
5 files changed, 30 insertions(+), 2 deletions(-)
New commits:
commit 9cb157a6dbd8c271f3fda2fae24d745145bb462e
Author: Andraž Levstik <ruskie+2054d253 AT codemages.net>
Commit: Andraž Levstik <ruskie+2054d253 AT codemages.net>
lemon: added lempar.c which lemon needs to work
diff --git a/devel/lemon/DETAILS b/devel/lemon/DETAILS
index 9a83eb1..448c670 100755
--- a/devel/lemon/DETAILS
+++ b/devel/lemon/DETAILS
@@ -3,6 +3,9 @@
SOURCE="${SPELL}.c"
SOURCE_URL[0]=http://www.sqlite.org/cvstrac/getfile/sqlite/tool/${SOURCE}
SOURCE_HASH=sha512:8773ac025dc3813da0ef3444f4ec9820343f2c07e663f162767617a8f2955a1539e61e726b552b36528b37578f187901897f1a37857a8e410cc6bc7be223f0f5
+ SOURCE2="lempar.c"
+ SOURCE2_URL[0]=http://www.sqlite.org/cvstrac/getfile/sqlite/tool/${SOURCE2}
+
SOURCE2_HASH=sha512:0584f3b8e26b9b99b76b06d282d3bfe96be771307be1bd04f0e024e6db8cd4a8041b42245c7c0eed2405c3f8dd469a7d6ee8eb13aec82abe80e2e2f4479d3a74
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}"
WEB_SITE=http://www.hwaci.com/sw/lemon/
LICENSE[0]=PD
diff --git a/devel/lemon/HISTORY b/devel/lemon/HISTORY
index acee92f..dff799e 100644
--- a/devel/lemon/HISTORY
+++ b/devel/lemon/HISTORY
@@ -1,3 +1,9 @@
+2009-05-02 Andraž "ruskie" Levstik <ruskie+f03a580f AT codemages.net>
+ * DETAILS: added lempar.c which lemon needs to function properly
+ * INSTALL: added lempar.c which lemon needs to function properly
+ * PRE_BUILD: patch lemon.c to point to the right spot for lempar.c
+ * lempar.c.path.fix.patch: patch for lemon.c to point to the right
spot
+
2009-04-25 Arjan Bouter <abouter AT sourcemage.org>
* BUILD, DETAILS, HISTORY, INSTALL,
PRE_BUILD: created spell
diff --git a/devel/lemon/INSTALL b/devel/lemon/INSTALL
index 663ac33..4067cf7 100755
--- a/devel/lemon/INSTALL
+++ b/devel/lemon/INSTALL
@@ -1 +1,3 @@
-install -m 0755 lemon ${INSTALL_ROOT}/usr/bin
+install -v -m 0755 lemon ${INSTALL_ROOT}/usr/bin &&
+mkdir -vp ${INSTALL_ROOT}/usr/share/lemon/ &&
+cp -v lempar.c ${INSTALL_ROOT}/usr/share/lemon/
diff --git a/devel/lemon/PRE_BUILD b/devel/lemon/PRE_BUILD
index 1251b6a..51f6549 100755
--- a/devel/lemon/PRE_BUILD
+++ b/devel/lemon/PRE_BUILD
@@ -1,3 +1,9 @@
default_pre_build &&
cd ${SOURCE_DIRECTORY} &&
-cp ${SOURCE_CACHE}/${SOURCE} ./
+verify_file '' &&
+verify_file 2 &&
+cp ${SOURCE_CACHE}/${SOURCE} . &&
+cp ${SOURCE_CACHE}/${SOURCE2} . &&
+cp $SPELL_DIRECTORY/lempar.c.path.fix.patch . &&
+sed -i -e "s:INSTALL_ROOT:$INSTALL_ROOT:g" lempar.c.path.fix.patch &&
+patch -p0 < lempar.c.path.fix.patch
diff --git a/devel/lemon/lempar.c.path.fix.patch
b/devel/lemon/lempar.c.path.fix.patch
new file mode 100644
index 0000000..1ef4f17
--- /dev/null
+++ b/devel/lemon/lempar.c.path.fix.patch
@@ -0,0 +1,11 @@
+--- lemon.c.orig 2009-04-29 13:05:36.000000000 +0200
++++ lemon.c 2009-04-29 13:07:11.000000000 +0200
+@@ -3082,6 +3082,8 @@
+ tpltname = buf;
+ }else if( access(templatename,004)==0 ){
+ tpltname = templatename;
++ }else if( access("INSTALL_ROOT/usr/share/lemon/lempar.c",004)==0 ){
++ tpltname = "INSTALL_ROOT/usr/share/lemon/lempar.c";
+ }else{
+ tpltname = pathsearch(lemp->argv0,templatename,0);
+ }
- [SM-Commit] GIT changes to master grimoire by Andraž Levstik (9cb157a6dbd8c271f3fda2fae24d745145bb462e), Andraž Levstik, 05/02/2009
Archive powered by MHonArc 2.6.24.