summaryrefslogtreecommitdiff
path: root/desktop/vwm/patches/vwm-2.0.2-Makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/vwm/patches/vwm-2.0.2-Makefile.patch')
-rw-r--r--desktop/vwm/patches/vwm-2.0.2-Makefile.patch20
1 files changed, 20 insertions, 0 deletions
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