summaryrefslogtreecommitdiff
path: root/desktop/vwm/patches
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/vwm/patches')
-rw-r--r--desktop/vwm/patches/vwm-2.0.2-Makefile-sysmon.patch11
-rw-r--r--desktop/vwm/patches/vwm-2.0.2-Makefile-vwmterm2.patch15
-rw-r--r--desktop/vwm/patches/vwm-2.0.2-Makefile.patch20
3 files changed, 46 insertions, 0 deletions
diff --git a/desktop/vwm/patches/vwm-2.0.2-Makefile-sysmon.patch b/desktop/vwm/patches/vwm-2.0.2-Makefile-sysmon.patch
new file mode 100644
index 0000000000..a77cd3245a
--- /dev/null
+++ b/desktop/vwm/patches/vwm-2.0.2-Makefile-sysmon.patch
@@ -0,0 +1,11 @@
+--- modules/sysmon/Makefile.orig 2009-05-22 15:26:39.000000000 +0100
++++ modules/sysmon/Makefile 2009-05-22 15:27:08.000000000 +0100
+@@ -4,7 +4,7 @@
+ libdir = ${prefix}/lib
+ includedir = ${prefix}/include -I../..
+ bindir = ${prefix}/bin
+-moddir = /usr/lib/vwm/modules
++moddir = ${libdir}/vwm/modules
+
+ makefile: all
+
diff --git a/desktop/vwm/patches/vwm-2.0.2-Makefile-vwmterm2.patch b/desktop/vwm/patches/vwm-2.0.2-Makefile-vwmterm2.patch
new file mode 100644
index 0000000000..06ef84b2d3
--- /dev/null
+++ b/desktop/vwm/patches/vwm-2.0.2-Makefile-vwmterm2.patch
@@ -0,0 +1,15 @@
+--- vwm/modules/vwmterm2/Makefile 2009-04-21 23:55:19.000000000 +0100
++++ vwm/modules/vwmterm2/Makefile.new 2010-01-19 19:57:52.754821551 +0000
+@@ -2,10 +2,10 @@
+ PKG_CFG = `pkg-config --cflags glib-2.0 gmodule-2.0`
+ DEFS = -D_REENTRANT -D_GNU_SOURCE
+ prefix = /usr/local
+-libdir = ${prefix}/lib
++libdir = ${prefix}/lib${arch}
+ includedir = -I${prefix}/include -I../..
+ bindir = ${prefix}/bin
+-moddir = /usr/lib/vwm/modules
++moddir = ${libdir}/vwm/modules
+
+ makefile: all
+
diff --git a/desktop/vwm/patches/vwm-2.0.2-Makefile.patch b/desktop/vwm/patches/vwm-2.0.2-Makefile.patch
new file mode 100644
index 0000000000..7790ed5817
--- /dev/null
+++ b/desktop/vwm/patches/vwm-2.0.2-Makefile.patch
@@ -0,0 +1,20 @@
+--- Makefile.orig 2009-05-22 14:47:31.000000000 +0100
++++ Makefile 2009-05-22 15:54:30.000000000 +0100
+@@ -8,7 +8,7 @@
+ includedir = ${prefix}/include -I./
+ bindir = ${prefix}/bin
+ headerdir = ${prefix}/include
+-moddir = /usr/lib/vwm/modules
++moddir = ${libdir}/vwm/modules
+
+ makefile: all
+
+@@ -32,7 +32,7 @@
+ rm -f vwm
+
+ install:
+- mkdir -p $(moddir)
++ mkdir -p $(moddir) $(bindir) $(headerdir) $(libdir)
+ chmod 644 vwm.h
+ cp -f vwm.h $(headerdir)
+ chmod 755 vwm