summaryrefslogtreecommitdiff
path: root/office/wordgrinder/pmfile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'office/wordgrinder/pmfile.patch')
-rw-r--r--office/wordgrinder/pmfile.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/office/wordgrinder/pmfile.patch b/office/wordgrinder/pmfile.patch
new file mode 100644
index 0000000000..98c9a2a5d7
--- /dev/null
+++ b/office/wordgrinder/pmfile.patch
@@ -0,0 +1,41 @@
+diff -Naur wordgrinder-0.3.3.orig/pmfile wordgrinder-0.3.3/pmfile
+--- wordgrinder-0.3.3.orig/pmfile 2009-12-13 14:44:53.000000000 +0100
++++ wordgrinder-0.3.3/pmfile 2012-08-11 07:54:34.340087801 +0200
+@@ -19,7 +19,7 @@
+ -- Where do you want WordGrinder installed? By default, it goes into your
+ -- home directory.
+
+-PREFIX = HOME
++PREFIX = "/usr"
+ -- PREFIX = "/usr/local"
+
+ -- What build flags do you want to use? (Not including -g or -Os, which are
+@@ -45,8 +45,8 @@
+ }
+
+ CINCLUDES = {
+- "/usr/include/ncursesw",
+- "/usr/include/lua5.1",
++ "/usr/include/ncurses",
++ "/usr/include",
+ "src/c"
+ }
+
+@@ -215,7 +215,7 @@
+ CLIBRARIES = {
+ PARENT,
+ 'ncursesw',
+- 'lua5.1'
++ 'lua'
+ }
+ }
+
+@@ -300,7 +300,7 @@
+
+ wordgrinder_release_exe = group {
+ wordgrinder_curses_exe,
+- CBUILDFLAGS = {PARENT, '-Os'},
++ CBUILDFLAGS = {PARENT, @CFLAGS@},
+ LUABUILDFLAGS = {PARENT, '-s'},
+ CDEFINES = {PARENT, 'NDEBUG'},
+ CLINKFLAGS = {PARENT, '-s'},